* breaking change: switched to nedb-promises * Linting * some dev dependencies * more tests * updated package version * bug fixing * changed isNaN to isString * (fix) args[0]
5 lines
134 B
JavaScript
5 lines
134 B
JavaScript
function isString(str) {
|
|
return typeof str === 'string' || str instanceof String ? true : false;
|
|
}
|
|
module.exports = { isString };
|