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

    Parameters

    • object: any

      The object to inspect.

    Returns string[]

    Returns the new array of property names.

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

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

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