#
once
Function • Returns a function that calls the given function once. Subsequent invocations will simply return the value returned by the initial invocation.
once function → function
Arguments
| name | type | description |
|---|---|---|
| function | Any |
Returns
| name | type | description |
|---|---|---|
| function | Any |