Source

validators/isID.js

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var isURLSafeStr_1 = __importDefault(require("./isURLSafeStr"));
/**
 * Whether it is an ID
 *
 * @param value
 * @category validators
 * @module isID
 */
var isID = function (value) { return (0, isURLSafeStr_1.default)("".concat(value)); };
exports.default = isID;