# core/predicates/algorithm.predicate.ts

> 7 lines of code and 1 definition.

Tree: GovLab Context
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/context#file-context-core-predicates-algorithm-predicate-ts
Source text: https://banes-lab.com/source/context/core/predicates/algorithm.predicate.ts.txt

Listed in [core/predicates](https://banes-lab.com/api/source/context/core/predicates.md), before [core/predicates/check.predicate.ts](https://banes-lab.com/source/context/core/predicates/check.predicate.ts.md).

## Definitions

- `symbolIndexesMatch` (lexical_declaration, line 3, exported)

## Contained in

- [core/predicates](https://banes-lab.com/anatomy/context/folder-context-core-predicates.md)

## Source

```typescript
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);
};
```
