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
trusty-cms-6.3.1 node_modules/lodash/_baseIsSet.js
immosquare-cleaner-0.1.51 node_modules/lodash/_baseIsSet.js
boring_generators-0.15.0 tmp/templates/app_template/node_modules/lodash/_baseIsSet.js
clapton-0.0.26 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
immosquare-cleaner-0.1.50 node_modules/lodash/_baseIsSet.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.19 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
immosquare-cleaner-0.1.49 node_modules/lodash/_baseIsSet.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js
immosquare-cleaner-0.1.48 node_modules/lodash/_baseIsSet.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/lodash/_baseIsSet.js