W3cubDocs

/Angular

AsyncOptionPredicate

An async function that takes an item and an option value and returns a boolean promise.

API

type AsyncOptionPredicate<T, O> = (item: T, option: O) => Promise<boolean>

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/cdk/testing/AsyncOptionPredicate