MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / isString

Function isString

MathBox/mathbox-bundle.js:37693–37696  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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`.

Callers 4

containsFunction · 0.85
maxFunction · 0.85
minFunction · 0.85
runInContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected