Use _.isString instead of typeof