Skip to main content

Function: combineFinderFilters()

function combineFinderFilters<Type, T, R>(filters): [(v) => null | R, () => void];

Defined in: finders/index.ts:14

Combine a set of finder filters (defined with radius) to pass as a filter function.

Type Parameters

Type

Type

T

T

R

R = number

Parameters

filters

object[]

An array of objects containing a filter and its radius.

Returns

[(v) => null | R, () => void]

A tuple containing a filter function and a cleanup function.