Home > @rushstack/lookup-by-path > LookupByPath > setItem
LookupByPath.setItem() 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.
Associates the value with the specified serialized path. If a value is already associated, will overwrite.
Signature:
setItem(serializedPath: string, value: TItem, delimiter?: string): this;
Parameters
Parameter | Type | Description |
|---|---|---|
serializedPath | string | |
value | TItem | |
delimiter | string | (Optional) |
Returns:
this
this, for chained calls