@gmb/bitmark-cli
Version:
Bitmark command line interface
17 lines • 522 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StringUtils = void 0;
class StringUtils {
/**
* Determines whether the given object is a string.
*
* @param obj - The object to check.
* @returns `true` if the object is a string, `false` otherwise.
*/
isString(obj) {
return typeof obj === 'string' || obj instanceof String;
}
}
const stringUtils = new StringUtils();
exports.StringUtils = stringUtils;
//# sourceMappingURL=StringUtils.js.map