Skip to main content

Type Alias: EntryPredicate<TProps>

EntryPredicate<TProps> = (entry) => boolean

Defined in: layout/entry-rule.ts:13

A rule that reads the whole row. Call: when: (entry) => entry.read('duration')?.value === 0. It runs on the hover path, so keep it cheap: it answers a question and draws nothing.

Type Parameters​

TProps​

TProps = Record<string, unknown>

Parameters​

entry​

Entry<TProps>

Returns​

boolean