MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / isPrimitive

Function isPrimitive

tools/test262/harness.js:134–136  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

132};
133
134function isPrimitive(value) {
135 return !value || (typeof value !== 'object' && typeof value !== 'function');
136}
137
138assert.compareArray = function (actual, expected, message) {
139 message = message === undefined ? '' : message;

Callers 1

harness.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected