Methods
isFunction(fn) → {boolean}
Helper function to check if the given param is a function
Parameters:
Name | Type | Description |
---|---|---|
fn |
function | The given object |
- Source:
Returns:
True if the given param is a function
- Type
- boolean
toString(fn) → {string}
Helper function used to compare two functions
Parameters:
Name | Type | Description |
---|---|---|
fn |
function | The given function |
- Source:
Returns:
Returns the function as a string
- Type
- string