/third_party/typescript/src/compiler/ |
D | core.ts | 227 …export function contains<T>(array: readonly T[] | undefined, value: T, equalityComparer: EqualityC… 230 if (equalityComparer(v, value)) { 238 …export function arraysEqual<T>(a: readonly T[], b: readonly T[], equalityComparer: EqualityCompare… 239 return a.length === b.length && a.every((x, i) => equalityComparer(x, b[i])); 704 …function deduplicateRelational<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, comp… 715 if (!equalityComparer(last, item)) { 726 function deduplicateEquality<T>(array: readonly T[], equalityComparer: EqualityComparer<T>) { 729 pushIfUnique(result, item, equalityComparer); 740 …export function deduplicate<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, compare… 743 comparer ? deduplicateRelational(array, equalityComparer, comparer) : [all …]
|
D | path.ts | 755 … const equalityComparer = i === 0 ? equateStringsCaseInsensitive : componentEqualityComparer; constant 756 if (!equalityComparer(parentComponents[i], childComponents[i])) {
|
D | program.ts | 2040 …const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStr… constant 2042 return equalityComparer(file.fileName, getDefaultLibraryFileName()); 2045 …return some(options.lib, libFileName => equalityComparer(file.fileName, pathForLibFile(libFileName…
|
/third_party/typescript/tests/baselines/reference/ |
D | genericClassPropertyInheritanceSpecialization.types | 12 equalityComparer(a: T, b: T): boolean; 13 >equalityComparer : (a: T, b: T) => boolean
|
D | genericClassPropertyInheritanceSpecialization.symbols | 24 equalityComparer(a: T, b: T): boolean; 25 >equalityComparer : Symbol(KnockoutObservable.equalityComparer, Decl(genericClassPropertyInheritanc…
|
D | genericClassPropertyInheritanceSpecialization.js | 9 equalityComparer(a: T, b: T): boolean;
|
/third_party/typescript/tests/cases/compiler/ |
D | genericClassPropertyInheritanceSpecialization.ts | 8 equalityComparer(a: T, b: T): boolean; method
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 358 function contains(array, value, equalityComparer) { argument 359 if (equalityComparer === void 0) { equalityComparer = equateValues; } 363 if (equalityComparer(v, value)) { 371 function arraysEqual(a, b, equalityComparer) { argument 372 if (equalityComparer === void 0) { equalityComparer = equateValues; } 373 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); }); 783 function deduplicateRelational(array, equalityComparer, comparer) { argument 793 if (!equalityComparer(last, item)) { 802 function deduplicateEquality(array, equalityComparer) { argument 806 pushIfUnique(result, item, equalityComparer); [all …]
|
D | tsc.js | 294 function contains(array, value, equalityComparer) { argument 295 if (equalityComparer === void 0) { equalityComparer = equateValues; } 299 if (equalityComparer(v, value)) { 307 function arraysEqual(a, b, equalityComparer) { argument 308 if (equalityComparer === void 0) { equalityComparer = equateValues; } 309 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); }); 707 function deduplicateRelational(array, equalityComparer, comparer) { argument 715 if (!equalityComparer(last, item)) { 723 function deduplicateEquality(array, equalityComparer) { argument 727 pushIfUnique(result, item, equalityComparer); [all …]
|