Last Updated: May 28, 2017
·
345
· Codi

Check or validate if Javascript value is a string (is-string)

You can use this is-string Javascript component to check if a var (like str) is a string in javascript.

Examples:

isString(3) // => false isString('') // => true