BHV-698: Guard against null/undefined and non-strings.
DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>
typeof(inString) will never return "null"; need to check inString === null instead.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
Making the right fix this time.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
BHV-698: Simplify null/undefined check.
DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>
Merge pull request #688 from enyojs/BHV-698-kevinpschaaf

BHV-698: Guard against null/undefined and non-strings.