@rr0/common
Version:
Common and utility classes
11 lines (10 loc) • 343 B
TypeScript
export declare class AssertionError extends Error {
constructor(message: string);
}
export declare class ObjectUtils {
static isUndefined(obj: any): boolean;
static isDefined(obj?: any): boolean;
static isNotSet(obj?: any): boolean;
static isSet(obj?: any): boolean;
static asSet<T>(obj?: T | null, msg?: string): T;
}