UNPKG

sv443-joke-api

Version:
18 lines (17 loc) 536 B
/** * Capitalizes a string's first letter and make other letters lowercased. * @private */ export declare const capitalize: (str: string) => string; /** * Removes null, undefined and "" from a object * @private */ export declare const cleanObject: (p: object) => object; declare type TesterFunction = (item: string) => boolean; /** * @todo Find a better name for this function * @private */ export declare const arrayTesting: (arr: (string | number)[], tester: TesterFunction, condition: "all" | "some") => boolean; export {};