Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

evaluateDataPredicate

evaluateDataPredicate<A>(predicate, attributes): boolean

Defined in: packages/sigma/src/core/styles.ts:177

Evaluates a data predicate (shorthand form) against the item’s graph attributes. For function predicates, use when in style rules or InlineFunctionConditional for inline values.

Type Parameters

A

A extends Attributes = Attributes

Parameters

predicate

DataPredicate<A>

attributes

A

Returns

boolean