/third_party/node/test/parallel/ |
D | test-util.js | 83 assert.strictEqual(util.isPrimitive({}), false); 84 assert.strictEqual(util.isPrimitive(new Error()), false); 85 assert.strictEqual(util.isPrimitive(new Date()), false); 86 assert.strictEqual(util.isPrimitive([]), false); 87 assert.strictEqual(util.isPrimitive(/regexp/), false); 88 assert.strictEqual(util.isPrimitive(function() {}), false); 89 assert.strictEqual(util.isPrimitive(new Number(1)), false); 90 assert.strictEqual(util.isPrimitive(new String('bla')), false); 91 assert.strictEqual(util.isPrimitive(new Boolean(true)), false); 92 assert.strictEqual(util.isPrimitive(1), true); [all …]
|
/third_party/node/deps/npm/node_modules/es-to-primitive/ |
D | es2015.js | 5 var isPrimitive = require('./helpers/isPrimitive'); variable 23 if (isPrimitive(result)) { 44 if (isPrimitive(input)) { 66 if (isPrimitive(result)) {
|
D | es5.js | 5 var isPrimitive = require('./helpers/isPrimitive'); variable 25 if (isPrimitive(value)) { 38 if (isPrimitive(input)) {
|
/third_party/node/deps/npm/node_modules/core-util-is/ |
D | test.js | 61 assert.equal(t.isPrimitive(null), true); 62 assert.equal(t.isPrimitive(''), true); 63 assert.equal(t.isPrimitive(0), true); 64 assert.equal(t.isPrimitive(new Date()), false);
|
D | float.patch | 436 @@ -522,166 +98,10 @@ function isPrimitive(arg) { 437 exports.isPrimitive = isPrimitive;
|
/third_party/node/deps/npm/node_modules/core-util-is/lib/ |
D | util.js | 93 function isPrimitive(arg) { function 101 exports.isPrimitive = isPrimitive;
|
/third_party/node/deps/npm/node_modules/bluebird/js/release/ |
D | util.js | 47 function isPrimitive(val) { function 59 if (!isPrimitive(maybeError)) return maybeError; 90 if (isPrimitive(obj)) return obj; 349 isPrimitive: isPrimitive, property
|
/third_party/node/deps/npm/node_modules/es-to-primitive/helpers/ |
D | isPrimitive.js | 1 module.exports = function isPrimitive(value) { function
|
/third_party/node/deps/npm/node_modules/es-abstract/helpers/ |
D | isPrimitive.js | 1 module.exports = function isPrimitive(value) { function
|
/third_party/node/lib/ |
D | util.js | 163 function isPrimitive(arg) { function 359 isPrimitive, property
|
/third_party/node/deps/npm/node_modules/es-abstract/ |
D | es2015.js | 26 var isPrimitive = require('./helpers/isPrimitive'); variable 88 var value = isPrimitive(argument) ? argument : toPrimitive(argument, $Number); 211 if (isPrimitive(obj)) {
|
D | CHANGELOG.md | 159 * Fix isPrimitive check for functions
|
/third_party/typescript/tests/baselines/reference/ |
D | unspecializedConstraints.js | 55 isPrimitive(): boolean { 230 Type.prototype.isPrimitive = function () { method in Type
|
D | unspecializedConstraints.errors.txt | 58 isPrimitive(): boolean {
|
D | unspecializedConstraints.types | 200 isPrimitive(): boolean { 201 >isPrimitive : () => boolean
|
D | unspecializedConstraints.symbols | 176 isPrimitive(): boolean { 177 >isPrimitive : Symbol(Type.isPrimitive, Decl(unspecializedConstraints.ts, 52, 9))
|
/third_party/typescript/tests/cases/compiler/ |
D | unspecializedConstraints.ts | 54 isPrimitive(): boolean { method in Type
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLHCodeGenerator.cpp | 94 bool isPrimitive = primitiveTypes.find(fieldType) != primitiveTypes.end(); in AccessType() local 95 if (isPrimitive) { in AccessType()
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | ICUJDKCompare.java | 749 if (lhs.isPrimitive()) { in assignableFrom() 750 if (!rhs.isPrimitive()) { in assignableFrom()
|
/third_party/node/doc/api/ |
D | util.md | 2325 ### `util.isPrimitive(object)` 2344 util.isPrimitive(5); 2346 util.isPrimitive('foo'); 2348 util.isPrimitive(false); 2350 util.isPrimitive(null); 2352 util.isPrimitive(undefined); 2354 util.isPrimitive({}); 2356 util.isPrimitive(() => {}); 2358 util.isPrimitive(/^$/); 2360 util.isPrimitive(new Date());
|
D | deprecations.md | 1098 ### DEP0054: `util.isPrimitive()` 1115 The [`util.isPrimitive()`][] API is deprecated. 2780 [`util.isPrimitive()`]: util.md#util_util_isprimitive_object
|
/third_party/node/deps/npm/node_modules/bluebird/js/browser/ |
D | bluebird.core.js | 3479 function isPrimitive(val) { 3491 if (!isPrimitive(maybeError)) return maybeError; 3522 if (isPrimitive(obj)) return obj; 3781 isPrimitive: isPrimitive, property
|
D | bluebird.js | 5321 function isPrimitive(val) { 5333 if (!isPrimitive(maybeError)) return maybeError; 5364 if (isPrimitive(obj)) return obj; 5623 isPrimitive: isPrimitive, property
|
D | bluebird.core.min.js | 31 …yOrDefault:l,thrower:p,isArray:F.isArray,asArray:B,notEnumerableProp:u,isPrimitive:o,isObject:a,is… property
|
/third_party/freetype/docs/reference/assets/javascripts/lunr/ |
D | wordcut.js | 1 …efined(t))return!1;if(n.prototype!==t.prototype)return!1;if(c.isPrimitive(n)||c.isPrimitive(t))ret…
|