export declare var classByType: { [s: string]: string; }; /** * Returns true if the value is a string primitive. */ export declare function isString(v: any): v is string; /** * Returns true if the value is a boolean primitive. */ export declare function isBoolean(v: any): v is boolean; /** * Returns true if the value is a number primitive. */ export declare function isNumber(v: any): v is number; /** * Returns true if the value is a function. */ export declare function isFunction(v: any): v is Function; declare var isArray: (arg: any) => arg is any[]; export { isArray }; /** * Returns true if the value is undefined. */ export declare function isUndefined(v: any): boolean; /** * Returns true if the value is null. */ export declare function isNull(v: any): boolean; /** * Returns true if the value is undefined or null. */ export declare function isUndefinedOrNull(v: any): boolean; /** * Returns true if the value is an object and not null. Includes functions. */ export declare function isObjectNotNull(v: any): v is {}; /** * Returns the type of value. */ export declare function getType(v: any): string; /** * Returns the value if ‘instanceof’ is true for the given constructor. */ export declare function as(c: new (...r) => T, v: any): T; declare var _default: { classByType: { [s: string]: string; }; isString: (v: any) => v is string; isBoolean: (v: any) => v is boolean; isNumber: (v: any) => v is number; isFunction: (v: any) => v is Function; isArray: (arg: any) => arg is any[]; isUndefined: (v: any) => boolean; isNull: (v: any) => boolean; isUndefinedOrNull: (v: any) => boolean; isObjectNotNull: (v: any) => v is {}; getType: (v: any) => string; as: (c: new (...r: any[]) => T, v: any) => T; }; export default _default;