@codeparticle/formal
Version:
A <2kb library for validating data of any kind
19 lines (14 loc) • 488 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});
var _chunkYSLAWOV5js = require('./chunk-YSLAWOV5.js');
// src/rules/is-string.ts
var isString = _chunkYSLAWOV5js.createRule.call(void 0, {
condition: (maybeStr) => typeof maybeStr === `string`,
message: () => `Value is not a string`
});
exports.isString = isString;
/**
* @file Check to see if a value is typeof string
* @author Nick Krause
* @license MIT
*/
//# sourceMappingURL=chunk-IKTUDLZY.js.map