2024-06-15 00:55:43 +03:00

6 lines
137 B
JavaScript

'use strict';
module.exports = function isStringOrUndefined(item) {
return typeof item === 'string' || typeof item === 'undefined';
};