/var/www/qr4y.gr/server/delivery/node_modules/validator/es/lib/util
NameSizeModeActions
algorithms.js28610644editdlrm
assertString.js7610644editdlrm
includes.js1440644editdlrm
merge.js3160644editdlrm
multilineRegex.js3290644editdlrm
toString.js7510644editdlrm
typeOf.js3130644editdlrm
Edit: /var/www/qr4y.gr/server/delivery/node_modules/validator/es/lib/util/toString.js (751B)
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } export default function toString(input) { if (_typeof(input) === 'object' && input !== null) { if (typeof input.toString === 'function') { input = input.toString(); } else { input = '[object Object]'; } } else if (input === null || typeof input === 'undefined' || isNaN(input) && !input.length) { input = ''; } return String(input); }