@glue42/bbg-market-data
Version:
A high-level API that wraps existing Glue42 Bloomberg Bridge Market Data interop methods. The API is based on the jBloomberg open source wrapper.
13 lines (12 loc) • 699 B
TypeScript
export declare function isNumber(value: any): value is number;
export declare function isNullOrUndefined(obj: any): boolean;
export declare function generateId(): string;
export declare function isEmpty(value: {
length: number;
}): boolean;
export declare function isEmptyArray(array: ArrayLike<any>): boolean;
export declare function nameOf<T>(_?: T): (key: keyof T) => keyof T;
export declare function existValueInEnum(type: any, value: any): boolean;
export declare function extractErrorMessage(error: any, alternative?: string): string;
export declare function callSafe(fn: (...args: any) => any, ...args: any): any;
export declare function clone<T>(objectToClone: T): T | null;