Predicate

From Get docs
< @angular/coreAngular/docs/latest/api/core/predicate /
Revision as of 02:37, 6 December 2021 by Notes (talk | contribs) (Page commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Predicate

interface

A boolean-valued function over a value, possibly including context information regarding that value's position in an array.

interface Predicate<T> {
  (value: T): boolean
}

Methods

(value: T): boolean

Parameters
value T
Returns

boolean



© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/Predicate