Home > @rushstack/lookup-by-path > LookupByPath > [Symbol.iterator]
LookupByPath.[Symbol.iterator]() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The readonly component of LookupByPath, to simplify unit testing.
Signature:
[Symbol.iterator](query?: string, delimiter?: string): IterableIterator<[string, TItem]>;
Parameters
Parameter | Type | Description |
|---|---|---|
query | string | (Optional) |
delimiter | string | (Optional) |
Returns:
IterableIterator<[string, TItem]>