@cashfarm/lang
Version:
Extends TypeScript/Javascript with basic classes and functions
13 lines (12 loc) • 722 B
TypeScript
export declare function isPresent(value: any): boolean;
export declare function isBlank(value: any): boolean;
export declare function isEmpty(value: any): boolean;
export declare function isBoolean(value: any): value is boolean;
export declare function isNumber(value: any): boolean;
export declare function isString(value: any): value is string;
export declare function isFunction(value: any): value is Function;
export declare function isPromise(value: any): value is Promise<any>;
export declare function isArray(value: any): value is Array<any>;
export declare function isDate(value: any): value is Date;
export declare function isJsobject(val: any): boolean;
export declare function isPrimitive(value: any): boolean;