UNPKG

flora-exception

Version:

An exception system for FQL.

11 lines 293 B
/** * A performance container type. * Use this when you want to maintain: * - type hinting * - readability of type predicates * But, need to exclude: * - Deep type checks * @param p * @returns */ export const $Perf = <T>(p : (obj : any)=>obj is T) => (obj : any) : obj is T => true