✏️ 编辑:_isFlattenable.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/lodash/_isFlattenable.js
大小:608 B · 修改:2022-11-21 20:09:42 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
var Symbol = require('./_Symbol'), isArguments = require('./isArguments'), isArray = require('./isArray'); /** Built-in value references. */ var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined; /** * Checks if `value` is a flattenable `arguments` object or array. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. */ function isFlattenable(value) { return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]); } module.exports = isFlattenable;
💾 保存
取消
保存为 UTF-8,换行统一为 LF