Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 613 Bytes

itemIdDefault.md

File metadata and controls

35 lines (18 loc) · 613 Bytes

realueDocs


realue / itemIdDefault

Function: itemIdDefault()

itemIdDefault<T>(index, item): string

Default function used by useArray for defining the unique identifier of an item.

Type Parameters

T

Parameters

index: number

Array index of the item.

item: T

Value of the item.

Returns

string

A unique identifier string for this item.

Defined in

lib/tools/itemIdDefault.ts:8