API reference › @evolu/common › Lookup
Lookup-key collections and helpers.
Functions
| Function | Description |
|---|---|
| createLookupMap | Creates LookupMap. |
| createLookupSet | Creates LookupSet. |
| structuralLookup | Returns the structural lookup key for key. |
Interfaces
| Interface | Description |
|---|---|
| CreateLookupMapOptions | Options for createLookupMap. |
| CreateLookupSetOptions | Options for createLookupSet. |
| LookupMap | Map-like collection keyed by a derived lookup key. |
| LookupOption | Optional Lookup. |
| LookupSet | Set-like collection keyed by a derived lookup key. |
Type Aliases
| Type Alias | Description |
|---|---|
| Lookup | Derives the native lookup key used by lookup-based collections. |
| Structural | Compile-time structural form of T for structural lookup APIs. |
| StructuralFunction | Function branch excluded by Structural. |
| StructuralKey | Immutable structural key. |
| StructuralLookupKey | Branded native key produced by structuralLookup. |
| StructuralScalar | Scalar branch shared by StructuralKey and Structural. |