functions

Object
since 0.1.0

Arguments

  • Object The object to inspect.

Returns

Array the function names.

Creates an array of function property names from own enumerable properties of object.

Example of Lodash _.functions

function Foo() {
  this.a = _.constant('a');
  this.b = _.constant('b');
}

Foo.prototype.c = _.constant('c');

_.functions(new Foo);
// => ['a', 'b']