@datalayer/core
Version:
**Datalayer Core**
17 lines (16 loc) • 463 B
TypeScript
/**
* Utility function to format strings
*/
export declare const formatString: (input: string) => string;
/**
* Utility function to add numbers
*/
export declare const addNumbers: (a: number, b: number) => number;
/**
* Utility function to check if a value is defined
*/
export declare const isDefined: <T>(value: T | undefined | null) => value is T;
/**
* Utility function to delay execution
*/
export declare const delay: (ms: number) => Promise<void>;