6 lines
137 B
JavaScript
Raw Normal View History

2024-01-10 22:39:31 +04:00
'use strict';
module.exports = function isStringOrUndefined(item) {
return typeof item === 'string' || typeof item === 'undefined';
};