Sha256: 2f5f1df7f711b04baa32d874e11fd8a193d83e311f5c32d512142f6a4cb864be

Contents?: true

Size: 478 Bytes

Versions: 265

Compression:

Stored size: 478 Bytes

Contents

var getTag = require('./_getTag'),
    isObjectLike = require('./isObjectLike');

/** `Object#toString` result references. */
var setTag = '[object Set]';

/**
 * The base implementation of `_.isSet` without Node.js optimizations.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a set, else `false`.
 */
function baseIsSet(value) {
  return isObjectLike(value) && getTag(value) == setTag;
}

module.exports = baseIsSet;

Version data entries

265 entries across 263 versions & 30 rubygems

Version Path
appmap-0.71.0 ./node_modules/lodash/_baseIsSet.js
disco_app-0.16.1 test/dummy/node_modules/lodash/_baseIsSet.js
appmap-0.70.2 ./node_modules/lodash/_baseIsSet.js
sumomo-0.8.14 data/sumomo/api_modules/node_modules/lodash/_baseIsSet.js
appmap-0.70.1 ./node_modules/lodash/_baseIsSet.js
appmap-0.70.0 ./node_modules/lodash/_baseIsSet.js
appmap-0.69.0 ./node_modules/lodash/_baseIsSet.js
sumomo-0.8.13 data/sumomo/api_modules/node_modules/lodash/_baseIsSet.js
appmap-0.68.2 ./node_modules/lodash/_baseIsSet.js
appmap-0.68.1 ./node_modules/lodash/_baseIsSet.js
disco_app-0.15.2 test/dummy/node_modules/lodash/_baseIsSet.js
appmap-0.68.0 ./node_modules/lodash/_baseIsSet.js
appmap-0.67.1 ./node_modules/lodash/_baseIsSet.js
trusty-cms-5.0.3 node_modules/lodash/_baseIsSet.js
trusty-cms-5.0.2 node_modules/lodash/_baseIsSet.js
appmap-0.67.0 ./node_modules/lodash/_baseIsSet.js
disco_app-0.18.4 test/dummy/node_modules/lodash/_baseIsSet.js
disco_app-0.18.1 test/dummy/node_modules/lodash/_baseIsSet.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/lodash/_baseIsSet.js
disco_app-0.14.0 test/dummy/node_modules/lodash/_baseIsSet.js