/** * * Checks whether the given value is isTruthy or not and returns the corresponding boolean value. * A isTruthy value is one that coerces to true in a boolean context. * Using example: a = [1, 2, 3, null]; b = a.filter(isTruthy); // b type is number[] * **/ type TTruthy = T extends false | '' | 0 | null | undefined ? never : T; export declare const isTruthy: (value: T) => value is TTruthy; export {};