2019-03-24 08:28:57 +01:00

4 lines
94 B
JavaScript

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