Module

x/rambda/index.d.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/index.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