_.functionsIn(object)
Creates an array of function property names from own and inherited enumerable properties of object
.
Since
4.0.0
Arguments
object
(Object): The object to inspect.
Returns
(Array): Returns the function names.
Example
function Foo() {this.a = _.constant('a');this.b = _.constant('b');}Foo.prototype.c = _.constant('c');_.functionsIn(new Foo);// => ['a', 'b', 'c']
当前内容版权归 lodash.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 lodash.com .