其他Predicate版本:23.11.1本页内容谓词类型 签名 export type Predicate<From, To extends From = From> = | ((value: From) => value is To) | ((value: From) => Awaitable<boolean>); 参考: Awaitable