Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

evaluateDataPredicate

evaluateDataPredicate<A>(predicate, attributes): boolean

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

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.

A extends Attributes = Attributes

DataPredicate<A>

A

boolean