MCPcopy Create free account
hub / github.com/cnodejs/egg-cnode / once

Function once

app/public/libs/lodash.compat.js:5971–5989  ·  view source on GitHub ↗

* Creates a function that is restricted to execute `func` once. Repeat calls to * the function will return the value of the first call. The `func` is executed * with the `this` binding of the created function. * * @static * @memberOf _ * @category Functions * @para

(func)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

isFunctionFunction · 0.85

Tested by

no test coverage detected