Module

x/rambda/mod.ts>once

Faster and smaller alternative to Ramda
Go to Latest
function once
import { once } from "https://dotland.deno.dev/x/rambda@v9.2.0/mod.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