_.functions(object)
Creates an array of function property names from own enumerable properties of object
.
Since
0.1.0
Arguments
-
object
(Object): The object to inspect.
Returns
(Array): Returns the function names.
Example
1 2 3 4 5 6 7 8 9 | function Foo() { this .a = _.constant( 'a' ); this .b = _.constant( 'b' ); } Foo.prototype.c = _.constant( 'c' ); _.functions( new Foo); // => ['a', 'b'] |
Please login to continue.