文件操作 - _arrayIncludes.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/lodash-es/_arrayIncludes.js
编辑文件内容
import baseIndexOf from './_baseIndexOf.js'; /** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** * A specialized version of `_.includes` for arrays without support for * specifying an index to search from. * * @private * @param {Array} [array] The array to inspect. * @param {*} target The value to search for. * @returns {boolean} Returns `true` if `target` is found, else `false`. */ function arrayIncludes(array, value) { var length = array == null ? 0 : array.length; return !!length && baseIndexOf(array, value, 0) > -1; } export default arrayIncludes;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件