@supunlakmal/hooks
Version:
A collection of reusable React hooks
10 lines (9 loc) • 510 B
TypeScript
export declare const noop: () => void;
export declare const isBrowser: boolean;
/**
* You should only be reaching for this function when you're attempting to prevent multiple
* redefinitions of the same function. In-place strict equality checks are more performant.
*/
export declare const isStrictEqual: (previous: any, next: any) => boolean;
export declare const truthyAndArrayPredicate: (conditions: boolean[]) => boolean;
export declare const truthyOrArrayPredicate: (conditions: boolean[]) => boolean;