You can use this [is-string](https://bitsrc.io/bit/utils/object/clean) Javascript component to check if a `var` (like `str`) is a string in javascript. Examples: `isString(3) // => false isString('') // => true`