2025-08-05 23:51:42 +08:00

6 lines
137 B
JavaScript

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