testcontainers
Version:
Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container
10 lines • 486 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.isNotEmptyString = exports.isEmptyString = exports.isDefined = void 0;
const isDefined = (value) => value !== undefined;
exports.isDefined = isDefined;
const isEmptyString = (value) => value.trim() === "";
exports.isEmptyString = isEmptyString;
const isNotEmptyString = (value) => !(0, exports.isEmptyString)(value);
exports.isNotEmptyString = isNotEmptyString;
//# sourceMappingURL=type-guards.js.map
;