* Checks if `value` is a string. * * @static * @memberOf _ * @category Objects * @param {*} value The value to check. * @returns {boolean} Returns `true` if the `value` is a string, else `false`. * @example * * _.isString('fred'); * // => true
(value)
| 37691 | * // => true |
| 37692 | */ |
| 37693 | function isString(value) { |
| 37694 | return typeof value == 'string' || |
| 37695 | value && typeof value == 'object' && toString.call(value) == stringClass || false; |
| 37696 | } |
| 37697 | |
| 37698 | /** |
| 37699 | * Checks if `value` is `undefined`. |
no outgoing calls
no test coverage detected