@ghini/kit
Version:
js practical tools to assist efficient development
15 lines (14 loc) • 670 B
TypeScript
export function uuid(len?: number): string;
export function rint(a: any, b?: number): any;
export function rside(): 1 | -1;
export function gchar(n?: number, characters?: number): string;
export function fhash(cx: string | Buffer | TypedArray | DataView, encode?: string, type?: string): string;
export function empty(x: any, recursive?: any): bool;
export function idhash(userId: number): string;
export function arr_uniq(arr: any): any[];
export function arr_diff(arr1: any, arr2: any): any;
export function addobjs(...objects: any[]): {};
export function obj2v1(obj2v: any): {
[k: string]: any;
};
export function addTwoDimensionalObjects(...objects: any[]): {};