Skip to content

Tree.isItem method

Tree › isItem

Unofficial

Check whether item is a valid tree item.

Signature:

isItem(node: T | undefined): boolean

Parameters:

Parameter Type Description
node T | undefined The item to check.

Returns: booleanWhether the item is a valid tree item.