✏️ 编辑:functionsIn.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/lodash/functionsIn.js
大小:714 B · 修改:2022-11-21 20:09:48 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
var baseFunctions = require('./_baseFunctions'), keysIn = require('./keysIn'); /** * Creates an array of function property names from own and inherited * enumerable properties of `object`. * * @static * @memberOf _ * @since 4.0.0 * @category Object * @param {Object} object The object to inspect. * @returns {Array} Returns the function names. * @see _.functions * @example * * function Foo() { * this.a = _.constant('a'); * this.b = _.constant('b'); * } * * Foo.prototype.c = _.constant('c'); * * _.functionsIn(new Foo); * // => ['a', 'b', 'c'] */ function functionsIn(object) { return object == null ? [] : baseFunctions(object, keysIn(object)); } module.exports = functionsIn;
💾 保存
取消
保存为 UTF-8,换行统一为 LF