coingecko-api-typed
Version:
A Node.js wrapper for the CoinGecko API with no dependencies (with generated inline d.ts typings!).
51 lines (50 loc) • 1.32 kB
TypeScript
/**
* @description Internal helper to check if parameter is a string
* @function isString
* @param {*} str
* @returns {boolean}
*/
export function isString(str: any): boolean;
/**
* @description Internal helper to check if string is empty
* @function isStringEmpty
* @param {*} str
* @returns {boolean}
*/
export function isStringEmpty(str: any): boolean;
/**
* @description Internal helper to check if parameter is a date
* @function isDate
* @param {*} date
* @returns {boolean}
*/
export function isDate(date: any): boolean;
/**
* @description Internal helper to check if parameter is an object
* @function isObject
* @param {*} obj
* @returns {boolean}
*/
export function isObject(obj: any): boolean;
/**
* @description Internal helper to check if parameter is a number
* @function isNumber
* @param {*} num
* @returns {boolean}
*/
export function isNumber(num: any): boolean;
/**
* @description Internal helper to check if parameter is an array
* @function isArray
* @param {*} arr
* @returns {boolean}
*/
export function isArray(arr: any): boolean;
/**
* @description Internal helper to emit a warning to the console
* @function _WARN_
* @param {string} title
* @param {string} detail
* @returns {boolean}
*/
export function _WARN_(title?: string, detail?: string): boolean;