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

x/rambda/mod.ts>once

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