UNPKG

@wezom/type-guards

Version:

Simple TypeScript type guards

8 lines (7 loc) 263 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isNotEmptyString = void 0; var isNotEmptyString = function (sample) { return typeof sample === 'string' && sample.length > 0; }; exports.isNotEmptyString = isNotEmptyString;