This will fail for String objects. Use `_.isString(selector)` instead.