/**
 * A tag is a simple marker that can be considered as a component without data.
 * It can be used instead of creating a new component class, when you don't need an additional data.
 */ export type Tag = number | string ; param item returns { item is Tag } export function isTag ( item ) { const type = typeof item ; return type === 'string' || type === 'number' ; }