getArrayItem
| Generic types: | T P |
Internal function used by use to load the data if it doesn't exist in the store and return a placeholder row if it doesn't exist.
Presentation
function getArrayItem (
entityState: EntityState<T>,
id: string,
childDefinition: ChildDefinition <P, T>,
): RowProxyDelete & T;Returns
Parameters
| Name | Type | Description |
|---|---|---|
| entityState | EntityState<T> | The |
| id | string | The id to check |
| childDefinition | | The |