Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/rambda.js>once

Faster and smaller alternative to Ramda
Latest
function once
import { once } from "https://deno.land/x/rambda@9.4.1/rambda.js";

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

Type Parameters

T extends AnyFunction
optional
C = unknown

Parameters

fn: T
optional
context: C