Files
NapCatQQ/.pnpm-store/v3/files/a6/9660078d0f0be5ee26d698dc801e4f76c5a00051c8b0966492ea933e73d3371da2298c847ff4af379758127cc53c34adaa9ef4d0a4e08ad40275eb4318307d
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

23 lines
455 B
Plaintext

import baseSlice from './_baseSlice.js';
/**
* Gets all but the first element of `array`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Array
* @param {Array} array The array to query.
* @returns {Array} Returns the slice of `array`.
* @example
*
* _.tail([1, 2, 3]);
* // => [2, 3]
*/
function tail(array) {
var length = array == null ? 0 : array.length;
return length ? baseSlice(array, 1, length) : [];
}
export default tail;