TinyBase logoTinyBase

Identity type aliases

This is the collection of identity type aliases within the common module. There are only three identity type aliases, Id, IdOrNull, and Ids.

Id

The Id type is a simple alias for a string, but is used to indicate that the string should be considered to be the key of an object (such as a Row Id string used in a Table).

IdOrNull

The Id type is a simple alias for the union of a string or null value, where the string should be considered to be the key of an objects (such as a Row Id string used in a Table), and typically null indicates a wildcard - such as when used in the Store addRowListener method.

Ids

The Ids type is a simple alias for an array of strings, but is used to indicate that the strings should be considered to be the keys of objects (such as the Row Id strings used in a Table).