is - nodef/extra-string GitHub Wiki

Check if value is string.

const is = require('@extra-string/is');
// is(<value>)

is('panini');
// true
is("valmiki");
// true
is(String('vyasa'));
// true
is({shakespeare: 'literature'});
// false
is(71811313518);
// false (what's this?)
is();
// false

extra-string

⚠️ **GitHub.com Fallback** ⚠️