Home
last modified time | relevance | path

Searched refs:isPrimitive (Results 1 – 25 of 30) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-util.js83 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/
Des2015.js5 var isPrimitive = require('./helpers/isPrimitive'); variable
23 if (isPrimitive(result)) {
44 if (isPrimitive(input)) {
66 if (isPrimitive(result)) {
Des5.js5 var isPrimitive = require('./helpers/isPrimitive'); variable
25 if (isPrimitive(value)) {
38 if (isPrimitive(input)) {
/third_party/node/deps/npm/node_modules/core-util-is/
Dtest.js61 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);
Dfloat.patch436 @@ -522,166 +98,10 @@ function isPrimitive(arg) {
437 exports.isPrimitive = isPrimitive;
/third_party/node/deps/npm/node_modules/core-util-is/lib/
Dutil.js93 function isPrimitive(arg) { function
101 exports.isPrimitive = isPrimitive;
/third_party/node/deps/npm/node_modules/bluebird/js/release/
Dutil.js47 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/
DisPrimitive.js1 module.exports = function isPrimitive(value) { function
/third_party/node/deps/npm/node_modules/es-abstract/helpers/
DisPrimitive.js1 module.exports = function isPrimitive(value) { function
/third_party/node/lib/
Dutil.js163 function isPrimitive(arg) { function
359 isPrimitive, property
/third_party/node/deps/npm/node_modules/es-abstract/
Des2015.js26 var isPrimitive = require('./helpers/isPrimitive'); variable
88 var value = isPrimitive(argument) ? argument : toPrimitive(argument, $Number);
211 if (isPrimitive(obj)) {
DCHANGELOG.md159 * Fix isPrimitive check for functions
/third_party/typescript/tests/baselines/reference/
DunspecializedConstraints.js55 isPrimitive(): boolean {
230 Type.prototype.isPrimitive = function () { method in Type
DunspecializedConstraints.errors.txt58 isPrimitive(): boolean {
DunspecializedConstraints.types200 isPrimitive(): boolean {
201 >isPrimitive : () => boolean
DunspecializedConstraints.symbols176 isPrimitive(): boolean {
177 >isPrimitive : Symbol(Type.isPrimitive, Decl(unspecializedConstraints.ts, 52, 9))
/third_party/typescript/tests/cases/compiler/
DunspecializedConstraints.ts54 isPrimitive(): boolean { method in Type
/third_party/flutter/skia/src/sksl/
DSkSLHCodeGenerator.cpp94 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/
DICUJDKCompare.java749 if (lhs.isPrimitive()) { in assignableFrom()
750 if (!rhs.isPrimitive()) { in assignableFrom()
/third_party/node/doc/api/
Dutil.md2325 ### `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());
Ddeprecations.md1098 ### 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/
Dbluebird.core.js3479 function isPrimitive(val) {
3491 if (!isPrimitive(maybeError)) return maybeError;
3522 if (isPrimitive(obj)) return obj;
3781 isPrimitive: isPrimitive, property
Dbluebird.js5321 function isPrimitive(val) {
5333 if (!isPrimitive(maybeError)) return maybeError;
5364 if (isPrimitive(obj)) return obj;
5623 isPrimitive: isPrimitive, property
Dbluebird.core.min.js31 …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/
Dwordcut.js1 …efined(t))return!1;if(n.prototype!==t.prototype)return!1;if(c.isPrimitive(n)||c.isPrimitive(t))ret…

12