Home
last modified time | relevance | path

Searched refs:isB (Results 1 – 25 of 29) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DtypeGuardFunctionGenerics.types24 declare function isB(p1): p1 is B;
25 >isB : (p1: any) => p1 is B
67 let test1: boolean = funA(isB);
69 >funA(isB) : boolean
71 >isB : (p1: any) => p1 is B
84 let test2: B = funC(isB);
86 >funC(isB) : B
88 >isB : (p1: any) => p1 is B
101 let test3: B = funE(isB, 1);
103 >funE(isB, 1) : B
[all …]
DtypeGuardFunctionGenerics.js14 declare function isB(p1): p1 is B;
25 let test1: boolean = funA(isB);
29 let test2: B = funC(isB);
33 let test3: B = funE(isB, 1);
69 var test1 = funA(isB);
73 var test2 = funC(isB);
77 var test3 = funE(isB, 1);
DtypeGuardFunctionGenerics.symbols24 declare function isB(p1): p1 is B;
25 >isB : Symbol(isB, Decl(typeGuardFunctionGenerics.ts, 10, 1))
95 let test1: boolean = funA(isB);
98 >isB : Symbol(isB, Decl(typeGuardFunctionGenerics.ts, 10, 1))
110 let test2: B = funC(isB);
114 >isB : Symbol(isB, Decl(typeGuardFunctionGenerics.ts, 10, 1))
126 let test3: B = funE(isB, 1);
130 >isB : Symbol(isB, Decl(typeGuardFunctionGenerics.ts, 10, 1))
DdiscriminantsAndTypePredicates.js8 function isB(x: A | B): x is B { return x.type === 'B'; }
16 if (isB(x)) {
37 function isB(x) { return x.type === 'B'; }
44 if (isB(x)) {
DdiscriminantsAndTypePredicates.types19 function isB(x: A | B): x is B { return x.type === 'B'; }
20 >isB : (x: A | B) => x is B
46 if (isB(x)) {
47 >isB(x) : boolean
48 >isB : (x: A | B) => x is B
DdiscriminantsAndTypePredicates.symbols23 function isB(x: A | B): x is B { return x.type === 'B'; }
24 >isB : Symbol(isB, Decl(discriminantsAndTypePredicates.ts, 5, 57))
53 if (isB(x)) {
54 >isB : Symbol(isB, Decl(discriminantsAndTypePredicates.ts, 5, 57))
DtypeGuardIntersectionTypes.js39 function isB(toTest: any): toTest is B {
45 if (isB(a)) {
124 function isB(toTest) {
129 if (isB(a)) {
DnarrowingOfDottedNames.js16 function isB(x: any): x is B {
36 else if (isB(x)) {
125 function isB(x) { function
143 else if (isB(x)) {
DnarrowingOfDottedNames.types30 function isB(x: any): x is B {
31 >isB : (x: any) => x is B
93 else if (isB(x)) {
94 >isB(x) : boolean
95 >isB : (x: any) => x is B
DnarrowingOfDottedNames.symbols31 function isB(x: any): x is B {
32 >isB : Symbol(isB, Decl(narrowingOfDottedNames.ts, 12, 1))
92 else if (isB(x)) {
93 >isB : Symbol(isB, Decl(narrowingOfDottedNames.ts, 12, 1))
DtypeGuardIntersectionTypes.symbols88 function isB(toTest: any): toTest is B {
89 >isB : Symbol(isB, Decl(typeGuardIntersectionTypes.ts, 34, 1))
107 if (isB(a)) {
108 >isB : Symbol(isB, Decl(typeGuardIntersectionTypes.ts, 34, 1))
DtypeGuardIntersectionTypes.types81 function isB(toTest: any): toTest is B {
82 >isB : (toTest: any) => toTest is B
99 if (isB(a)) {
100 >isB(a) : boolean
101 >isB : (toTest: any) => toTest is B
DnarrowingOfDottedNames.errors.txt20 function isB(x: any): x is B {
40 else if (isB(x)) {
DtypeGuardFunctionErrors.js53 declare function isB(p1): p1 is B;
59 if (isB(b)) {
233 if (isB(b)) {
DtypeGuardFunctionErrors.types102 declare function isB(p1): p1 is B;
103 >isB : (p1: any) => p1 is B
120 if (isB(b)) {
121 >isB(b) : boolean
122 >isB : (p1: any) => p1 is B
DtypeGuardFunctionErrors.symbols112 declare function isB(p1): p1 is B;
113 >isB : Symbol(isB, Decl(typeGuardFunctionErrors.ts, 49, 9))
136 if (isB(b)) {
137 >isB : Symbol(isB, Decl(typeGuardFunctionErrors.ts, 49, 9))
DtypeGuardFunction.symbols30 declare function isB(p1: any): p1 is B;
31 >isB : Symbol(isB, Decl(typeGuardFunction.ts, 12, 39))
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardFunctionGenerics.ts14 declare function isB(p1): p1 is B; function
25 let test1: boolean = funA(isB);
29 let test2: B = funC(isB);
33 let test3: B = funE(isB, 1);
DtypeGuardIntersectionTypes.ts40 function isB(toTest: any): toTest is B { function
46 if (isB(a)) {
DtypeGuardFunctionErrors.ts53 declare function isB(p1): p1 is B; function
59 if (isB(b)) {
DtypeGuardFunction.ts15 declare function isB(p1: any): p1 is B;
/third_party/typescript/tests/cases/compiler/
DdiscriminantsAndTypePredicates.ts7 function isB(x: A | B): x is B { return x.type === 'B'; } function
15 if (isB(x)) {
DnarrowingOfDottedNames.ts17 function isB(x: any): x is B { function
37 else if (isB(x)) {
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java448 boolean isB; in doBoundaryTest()
450 isB = bi.isBoundary(i); in doBoundaryTest()
451 logln("bi.isBoundary(" + i + ") -> " + isB); in doBoundaryTest()
453 if (!isB) in doBoundaryTest()
457 if (isB) in doBoundaryTest()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DRBBIAPITest.java451 boolean isB; in doBoundaryTest()
453 isB = bi.isBoundary(i); in doBoundaryTest()
454 logln("bi.isBoundary(" + i + ") -> " + isB); in doBoundaryTest()
456 if (!isB) in doBoundaryTest()
460 if (isB) in doBoundaryTest()

12