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

Function first

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

* Gets the first element or first `n` elements of an array. If a callback * is provided elements at the beginning of the array are returned as long * as the callback returns truey. The callback is bound to `thisArg` and * invoked with three arguments; (value, index, array). *

(array, callback, thisArg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

sliceFunction · 0.85

Tested by

no test coverage detected