Home
last modified time | relevance | path

Searched refs:isNumber (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DarrayFind.ts22 function isNumber(x: any): x is number {
40 const foundNumber: number | undefined = arrayOfStringsNumbersAndBooleans.find(isNumber);
42 AssertType(arrayOfStringsNumbersAndBooleans.find(isNumber), "number");
44 AssertType(isNumber, "(any) => x is number");
51 … readonlyFoundNumber: number | undefined = readonlyArrayOfStringsNumbersAndBooleans.find(isNumber);
53 AssertType(readonlyArrayOfStringsNumbersAndBooleans.find(isNumber), "number");
55 AssertType(isNumber, "(any) => x is number");
DtypePredicatesInUnion2.ts22 declare function isNumber(x: any): x is number;
23 declare function f(p: typeof isString | typeof isNumber): void;
29 f(isNumber);
30 AssertType(f(isNumber), "void");
32 AssertType(isNumber, "(any) => x is number");
DcontrolFlowCommaExpressionFunctionCall.ts31 function isNumber(obj: any): obj is number {
37 if (isNumber((otherValue(), value))) {
DnarrowCommaOperatorNestedWithinLHS.ts32 function isNumber(obj: any): obj is number { function
52 if (isNumber((otherValue(), value).inner)) {
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h132 bool isNumber = ReadNumberRange(isFast); in ParseNumber() local
133 if (!isNumber) { in ParseNumber()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder.cpp4272 Label isNumber(env); in FastToBoolean() local
4291 Branch(TaggedIsNumber(value), &isNumber, &notNumber); in FastToBoolean()
4314 Bind(&isNumber); in FastToBoolean()
6121 Label isNumber(env); in ToNumber() local
6125 Branch(TaggedIsNumber(tagged), &isNumber, &notNumber); in ToNumber()
6126 Bind(&isNumber); in ToNumber()
/arkcompiler/ets_frontend/testTs/
Dtest-case.patch3411 + const isNumber = typeof x === "number";
3412 + if (isString || isNumber) {
3422 + const isNumber = typeof x === "number";
3423 + const isStringOrNumber = isString || isNumber;
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2isNumber(t)?t:t[0])}),(function(t){return e.isNumber(t)?e.emptyArray:t[1]})),hasReusableDiagnostic… property
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js10279 isNumber: ft, property
10334 isNumber: ft, property