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

Function last

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

* Gets the last element or last `n` elements of an array. If a callback is * provided elements at the end 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). * * If a

(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