MCPcopy Index your code
hub / github.com/deployd/deployd / isString

Function isString

test-app/public/sinon.js:22761–22764  ·  view source on GitHub ↗

* 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

(value)

Source from the content-addressed store, hash-verified

22759 * // => false
22760 */
22761 function isString(value) {
22762 return typeof value == 'string' ||
22763 (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
22764 }
22765
22766 /**
22767 * Checks if `value` is classified as a `Symbol` primitive or object.

Callers 3

includesFunction · 0.70
sizeFunction · 0.70
toArrayFunction · 0.70

Calls 3

isObjectLikeFunction · 0.85
baseGetTagFunction · 0.85
isArrayFunction · 0.70

Tested by

no test coverage detected