2019-03-24 08:27:49 +01:00

4 lines
94 B
JavaScript

module.exports = function (val) {
return typeof val === 'string' || val instanceof String
}