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

Function isObject

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

* Determines if value is actually an Object. * @param {*} value * @return {boolean}

(value)

Source from the content-addressed store, hash-verified

7111 * @return {boolean}
7112 */
7113function isObject(value) {
7114 const str = Object.prototype.toString.call(value);
7115 return str === '[object Object]';
7116}
7117
7118/**
7119 * Checks whether `s` is a valid value of `enumObj`.

Callers 6

validateEventFunction · 0.70
sendSubscriptionStateMethod · 0.70
sendEventMethod · 0.70
handleClientEvent_Method · 0.70
sendSubscriptionStateMethod · 0.70
sendEventMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected