Help Angular by taking a 1 minute survey!Go to surveyHome

Predicate

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 }
      
      interface Predicate<T> {
  (value: T): boolean
}
    

Methods

(value: T): boolean
      
      (value: T): boolean
    
Parameters
value T
Returns

boolean