id

gets the id of a data item

number|string id(object item);

Parameters

itemobjecta data object

Returns

number|stringthe data item id
See also
Back to top