Skip to content

Tree.isItem method

Tree › isItem

Unofficial

Check whether item is a valid tree item.

Signature:

isItem(node: T | undefined): boolean

Parameters:

ParameterTypeDescription
nodeT | undefinedThe item to check.

Returns: booleanWhether the item is a valid tree item.