@pjackson28 should these use the typeof string comparison? I can't recall when it is best not to use it.
@jolevesq it shouldn't need the outer brackets though