Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 274 Bytes

puppeteer.predicate.md

File metadata and controls

15 lines (11 loc) · 274 Bytes
sidebar_label
Predicate

Predicate type

Signature:

export type Predicate<From, To extends From = From> =
  | ((value: From) => value is To)
  | ((value: From) => Awaitable<boolean>);

References: Awaitable