core/predicates/algorithm.predicate.ts
core/predicates/algorithm.predicate.ts is a file in GovLab Context. 7 lines of code and 1 definition.
import type { SymbolEntry } from "#types/algorithm.types";
export const symbolIndexesMatch = function symbolIndexesMatch(
committed: readonly SymbolEntry[],
generated: readonly SymbolEntry[],
): boolean {
return JSON.stringify(committed) === JSON.stringify(generated);
};