* Checks if `value` is classified as a `String` primitive or object. * * @static * @since 0.1.0 * @memberOf _ * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a string, else `false`. * @example *
(value)
| 12232 | * // => false |
| 12233 | */ |
| 12234 | function isString(value) { |
| 12235 | return typeof value == 'string' || |
| 12236 | (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); |
| 12237 | } |
| 12238 | |
| 12239 | /** |
| 12240 | * Checks if `value` is classified as a `Symbol` primitive or object. |
no test coverage detected