MCPcopy
hub / github.com/helloxz/onenav / isFunction

Function isFunction

static/bootstrap4/js/bootstrap.bundle.js:1587–1590  ·  view source on GitHub ↗

* Check if the given variable is a function * @method * @memberof Popper.Utils * @argument {Any} functionToCheck - variable to check * @returns {Boolean} answer to: is a function?

(functionToCheck)

Source from the content-addressed store, hash-verified

1585 * @returns {Boolean} answer to: is a function?
1586 */
1587 function isFunction(functionToCheck) {
1588 var getType = {};
1589 return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
1590 }
1591
1592 /**
1593 * Get CSS computed property of the given element

Callers 2

runModifiersFunction · 0.70
PopperFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected