UNPKG

call-to-promise

Version:

A lightweight, production-ready, universal library for transforming callback-style functions into Promise-based ones. Works seamlessly across Node.js, Deno, and browsers.

15 lines 506 B
/** * Function tests if the passed value is a string. * * @param {*} value Parameter to check * @returns {boolean} It returns true if the parameter is a string */ export function isString(value: any): boolean; /** * Function tests if the passed value is an array of strings. * * @param {*} value Possible array of strings * @returns {boolean} It returns true if the parameter is an array of strings */ export function isArrayOfStrings(value: any): boolean; //# sourceMappingURL=utilities.d.ts.map