UNPKG

568 BTypeScriptView Raw
1/**
2 * Check and return true if an object is type of string
3 */
4export declare function isString(obj: any): boolean;
5/**
6 * Check and return true if an object not undefined or null
7 */
8export declare function isPresent(obj: any): boolean;
9/**
10 * Check and return true if an object is type of Function
11 */
12export declare function isFunction(obj: any): boolean;
13/**
14 * Create Image element with specified url string
15 */
16export declare function createImage(src: string): HTMLImageElement;
17/**
18 * Call the function
19 */
20export declare function callFun(fun: Function): any;