MCPcopy Create free account
hub / github.com/ampproject/amphtml / isFunction

Function isFunction

third_party/subscriptions-project/swg.js:7140–7142  ·  view source on GitHub ↗

* True if the value is a function. * @param {*} value * @return {boolean}

(value)

Source from the content-addressed store, hash-verified

7138 * @return {boolean}
7139 */
7140function isFunction(value) {
7141 return typeof value === 'function';
7142}
7143
7144/**
7145 * True if the value is either true or false.

Callers 4

registerEventListenerMethod · 0.70
registerEventFiltererMethod · 0.70
isGaEligibleMethod · 0.70
isGtagEligibleMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected