/third_party/node/deps/npm/node_modules/is-date-object/ |
D | test.js | 4 var isDate = require('./'); variable 8 t.notOk(isDate(), 'undefined is not Date'); 9 t.notOk(isDate(null), 'null is not Date'); 10 t.notOk(isDate(false), 'false is not Date'); 11 t.notOk(isDate(true), 'true is not Date'); 12 t.notOk(isDate(42), 'number is not Date'); 13 t.notOk(isDate('foo'), 'string is not Date'); 14 t.notOk(isDate([]), 'array is not Date'); 15 t.notOk(isDate({}), 'object is not Date'); 16 t.notOk(isDate(function () {}), 'function is not Date'); [all …]
|
D | README.md | 18 var isDate = require('is-date-object'); 21 assert.notOk(isDate(undefined)); 22 assert.notOk(isDate(null)); 23 assert.notOk(isDate(false)); 24 assert.notOk(isDate(true)); 25 assert.notOk(isDate(42)); 26 assert.notOk(isDate('foo')); 27 assert.notOk(isDate(function () {})); 28 assert.notOk(isDate([])); 29 assert.notOk(isDate({})); [all …]
|
/third_party/node/test/js-native-api/test_date/ |
D | test.js | 11 assert.strictEqual(test_date.isDate(dateTypeTestDate), true); 13 assert.strictEqual(test_date.isDate(new Date(1549183351)), true); 15 assert.strictEqual(test_date.isDate(2.4), false); 16 assert.strictEqual(test_date.isDate('not a date'), false); 17 assert.strictEqual(test_date.isDate(undefined), false); 18 assert.strictEqual(test_date.isDate(null), false); 19 assert.strictEqual(test_date.isDate({}), false);
|
D | test_date.c | 26 static napi_value isDate(napi_env env, napi_callback_info info) { in isDate() function 54 DECLARE_NAPI_PROPERTY("isDate", isDate), in Init()
|
/third_party/node/test/parallel/ |
D | test-util.js | 54 assert.strictEqual(util.isDate(new Date()), true); 55 assert.strictEqual(util.isDate(new Date(0), 'foo'), true); 56 assert.strictEqual(util.isDate(new (context('Date'))()), true); 57 assert.strictEqual(util.isDate(Date()), false); 58 assert.strictEqual(util.isDate({}), false); 59 assert.strictEqual(util.isDate([]), false); 60 assert.strictEqual(util.isDate(new Error()), false); 61 assert.strictEqual(util.isDate(Object.create(Date.prototype)), false);
|
D | test-fs-stat-bigint.js | 9 const { isDate } = require('util').types; 27 if (isDate(val)) {
|
/third_party/typescript/tests/baselines/reference/ |
D | narrowFromAnyWithTypePredicate.types | 21 declare function isDate(x): x is Date; 22 >isDate : (x: any) => x is Date 101 if (isDate(x)) { 102 >isDate(x) : boolean 103 >isDate : (x: any) => x is Date
|
D | narrowFromAnyWithTypePredicate.symbols | 28 declare function isDate(x): x is Date; 29 >isDate : Symbol(isDate, Decl(narrowFromAnyWithTypePredicate.ts, 4, 40)) 87 if (isDate(x)) { 88 >isDate : Symbol(isDate, Decl(narrowFromAnyWithTypePredicate.ts, 4, 40))
|
D | narrowFromAnyWithTypePredicate.js | 7 declare function isDate(x): x is Date; 32 if (isDate(x)) { 57 if (isDate(x)) {
|
D | narrowFromAnyWithTypePredicate.errors.txt | 14 declare function isDate(x): x is Date; 47 if (isDate(x)) {
|
D | underscoreTest1.js | 60 isDate(): boolean; 234 isDate(): ChainedObject<boolean>; 616 isDate(object: any): boolean; 848 _.isDate(new Date()); 1047 _.isDate(new Date());
|
D | underscoreTest1.errors.txt | 217 _.isDate(new Date()); 330 isDate(): boolean; 504 isDate(): ChainedObject<boolean>; 886 isDate(object: any): boolean;
|
/third_party/node/deps/npm/node_modules/core-util-is/lib/ |
D | util.js | 78 function isDate(d) { function 81 exports.isDate = isDate;
|
/third_party/typescript/tests/cases/conformance/types/any/ |
D | narrowFromAnyWithTypePredicate.ts | 6 declare function isDate(x): x is Date; 31 if (isDate(x)) {
|
/third_party/node/deps/npm/node_modules/core-util-is/ |
D | test.js | 49 assert.equal(t.isDate(null), false); 50 assert.equal(t.isDate('1'), false); 51 assert.equal(t.isDate(new Date()), true);
|
D | float.patch | 238 - if (isDate(value)) { 266 - if (isDate(value)) {
|
/third_party/node/deps/npm/node_modules/es-to-primitive/ |
D | es2015.js | 7 var isDate = require('is-date-object'); variable 71 if (hint === 'default' && (isDate(input) || isSymbol(input))) {
|
/third_party/node/lib/ |
D | util.js | 356 isDate: types.isDate, property
|
/third_party/node/lib/internal/util/ |
D | comparisons.js | 32 isDate, 223 } else if (isDate(val1)) { 224 if (!isDate(val2) || 282 isDate(val2) ||
|
/third_party/node/lib/internal/fs/ |
D | utils.js | 36 isDate, 610 if (isDate(time)) {
|
/third_party/typescript/tests/cases/compiler/ |
D | underscoreTest1.ts | 58 isDate(): boolean; method 232 isDate(): ChainedObject<boolean>; method 614 isDate(object: any): boolean; method 846 _.isDate(new Date());
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_util.js | 380 this.isDate = function (...args) { method
|
/third_party/node/doc/api/ |
D | util.md | 1515 ### `util.types.isDate(value)` 1526 util.types.isDate(new Date()); // Returns true 2127 ### `util.isDate(object)` 2133 > Stability: 0 - Deprecated: Use [`util.types.isDate()`][] instead. 2143 util.isDate(new Date()); 2145 util.isDate(Date()); 2147 util.isDate({}); 2528 [`util.types.isDate()`]: #util_util_types_isdate_value
|
/third_party/freetype/docs/reference/assets/javascripts/lunr/ |
D | wordcut.js | 1 …r(var e=0;e<n.length;e++)if(n[e]!==t[e])return!1;return!0}return c.isDate(n)&&c.isDate(t)?n.getTim…
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | DateTimePatternGenerator.java | 1749 boolean isDate = (foundMask & DATE_MASK) != 0; in hasDateAndTimeFields() 1751 return isDate && isTime; in hasDateAndTimeFields()
|