填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

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
}
    

方法

(value: T): boolean
      
      (value: T): boolean
    
参数
value T
返回值

boolean