ActiveListContentPredicate<T>

TYPE DEFINITION

Represents a callback which is given all relevant data for the action, and expects either true or false to be returned. If true is returned will perform the action.

Since 1.0.0

Signature

callback( ): boolean

Parameters

data: ActiveListContentPredicateData<T>

The data for which this predicate will determine if the action needs to be performed.

Returns

Whether or not to perform the action associated with the predicate based on the given item and index.