UNPKG

@villedemontreal/workit-core

Version:

This package provides default and no-op implementations of the WorkIt types for client packages.

13 lines (12 loc) 551 B
export declare const isFunction: (f: any) => boolean; export declare const isObject: (o: any) => boolean; /** * Applied test function on each element on the array and ANDs the results */ export declare const andArrayWith: <T = unknown>(arr: T[], test: (param: T) => boolean) => boolean; /** * Checks if parameter is an array of functions */ export declare const isArrayOfFunctions: (a: any) => boolean; export declare const isEmptyArray: (a: any) => boolean; export declare function parseCommaSeparatedBaggage(baggage: any, values: string): void;