Predicate: (node: default<T>) => boolean

A predicate function that checks whether a given node meets a condition.

Type Parameters

  • T

    The type of data stored in the node.

Type declaration

    • (node: default<T>): boolean
    • Parameters

      Returns boolean

      True if the node meets the condition otherwise, false.