Home > @rushstack/lookup-by-path > LookupByPath > has
LookupByPath.has() 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:
has(key: string, delimiter?: string): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
key | string | |
delimiter | string | (Optional) |
Returns:
boolean