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