cpt-waffle-lotide
Version:
LoTide in Typescript
36 lines (35 loc) • 1.82 kB
TypeScript
declare const _default: {
assertArrayEqual: (a: any[], a2: any[]) => void;
assertEqual: (actual: any, expected: any) => void;
assertObjectsEqual: (actual: import("./interfaces").objectInterface, expected: import("./interfaces").objectInterface) => void;
average: (list: number[]) => number;
calculateDayInYear: (date: string) => number;
countLetters: (sentance: string) => import("./interfaces").countLettersReturnInterface;
countOnly: (allItems: any[], itemsToCount: import("./interfaces").countInterface) => import("./interfaces").countReturnInterface;
diceRoller: (rollNum: number) => void;
eqArrays: (a: any[], a2: any[]) => boolean;
eqObject: (object1: import("./interfaces").objectInterface, object2: import("./interfaces").objectInterface) => boolean;
filtering: (arr: number[], condition: (num: number) => boolean) => number[];
findkey: (obj: {
[key: string]: any;
}, cb: (arg: any) => any) => string | undefined;
findKeyByValue: (obj: {
[key: string]: any;
}, value: string) => string | undefined;
flatten: (array: any[]) => any[];
head: (array: any[]) => any;
joinList: (array: string[]) => string;
letterPositions: (string: string) => import("./interfaces").letterPosReturnInterface;
map: <T>(array: T[], cb: (arg: T) => T) => T[];
middle: (array: any[]) => any[];
min: (numbers: number[]) => number;
pallindrome: (str: string) => boolean;
password: (string: string) => string;
pigLatin: (string: string) => string;
printFrame: (list: string) => void;
reverse: (string: string) => string;
tail: (array: any[]) => any;
takeUntil: <T_1>(array: T_1[], callback: (arg: T_1) => boolean) => T_1[];
without: (source: any[], itemsToRemove: any[]) => any[];
};
export default _default;