- none<T, U>(iterable: T[], predicate: ((item: T) => item is U)): iterable is Exclude<T, U>[]
-
Parameters
-
iterable: T[]
-
predicate: ((item: T) => item is U)
-
- (item: T): item is U
-
Returns item is U
Returns iterable is Exclude<T, U>[]
- none<T, U>(iterable: Set<T>, predicate: ((item: T) => item is U)): iterable is Set<Exclude<T, U>>
-
Parameters
-
iterable: Set<T>
-
predicate: ((item: T) => item is U)
-
- (item: T): item is U
-
Returns item is U
Returns iterable is Set<Exclude<T, U>>
- none<T, U>(iterable: Iterable<T>, predicate: ((item: T) => item is U)): iterable is Iterable<Exclude<T, U>>
-
Parameters
-
iterable: Iterable<T>
-
predicate: ((item: T) => item is U)
-
- (item: T): item is U
-
Returns item is U
Returns iterable is Iterable<Exclude<T, U>>
- none<T>(iterable: Iterable<T>, predicate: ((item: T) => boolean)): boolean
-
Parameters
-
iterable: Iterable<T>
-
predicate: ((item: T) => boolean)
-
- (item: T): boolean
-
Returns boolean
Returns boolean