4.17.11
3.10.1
2.4.2
1.3.1
_.functionsIn(object)
Creates an array of function property names from own and inherited
enumerable properties of object
.
Since
4.0.0
Arguments
argument
object
type
Object
description
The object to inspect.
Returns
(array)
Example
function Foo() {
this.a = _.constant("a");
this.b = _.constant("b");
}
Foo.prototype.c = _.constant("c");
_.functionsIn(new Foo());
// => ['a', 'b', 'c']
function Foo() {
this.a = _.constant("a");
this.b = _.constant("b");
}
Foo.prototype.c = _.constant("c");
_.functionsIn(new Foo());
// => ['a', 'b', 'c']