Welshman Docs / @welshman/lib / once
Function: once() ​
once(
f
): (...args
) =>void
Defined in: packages/lib/src/Tools.ts:909
Creates function that only executes once
Parameters ​
f ​
(...args
) => void
Function to wrap
Returns ​
Function
Function that executes f only on first call
Parameters ​
args ​
...any
Returns ​
void