UNPKG

@gmb/bitmark-cli

Version:
17 lines 522 B
"use strict"; 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