UNPKG

flora-exception

Version:

An exception system for FQL.

8 lines (7 loc) 253 B
import { GuardedT } from "Flora/Fx"; /** * Checks if all elements in an array are of a certain type * @param Predicate * @returns */ export declare const $Array: <P extends (obj: any) => boolean>(Predicate: P) => (obj: any) => obj is GuardedT<P>[];