SearchFunction<TOrgChartItem extends OrgChartItem, TNeedle>

A function that returns whether the given item matches the search needle.

Type
(
item: TOrgChartItem,
needle: TNeedle
) => boolean