@linzjs/step-ag-grid
Version:
[](https://github.com/semantic-release/semantic-release) > Reusable [ag-grid](https://www.ag-grid.com/) component for LINZ / Toitū te whenua.
11 lines (10 loc) • 777 B
TypeScript
export type MaybePromise<T> = T | Promise<T>;
export declare const isNotEmpty: (value?: any) => boolean;
export declare const wait: (timeoutMs: number) => Promise<(string | null)[]>;
export declare const isFloat: (value: string) => boolean;
export declare const findParentWithClass: (className: string, child: Node) => HTMLElement | null;
export declare const hasParentClass: (className: string, child: Node) => boolean;
export declare const stringByteLengthIsInvalid: (str: string, maxBytes: number) => boolean;
export declare const fnOrVar: (fn: any, param?: any) => any;
export declare const sanitiseFileName: (filename: string) => string;
export declare const compareNaturalInsensitive: (a?: object | string | number | null, b?: object | string | number | null) => number;