SearchFunction<TEntity, TNeedle> A function that returns whether the given item matches the search needle. Type( item: TEntity, needle: TNeedle) => boolean