CodeMaster/node_modules/es-abstract/helpers/isStringOrUndefined.js
2025-04-02 21:57:33 +08:00

6 lines
137 B
JavaScript

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