Module

x/rambda/immutable.d.ts>once

Faster and smaller alternative to Ramda
Latest
function once
import { once } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

It returns a function, which invokes only once fn function.

Type Parameters

T extends AnyFunction
optional
C = unknown

Parameters

fn: T
optional
context: C