Sha256: a1f46a1539ad4d4527e559e229196f5e39bddcacbddf3183e461135b4d477403

Contents?: true

Size: 677 Bytes

Versions: 64

Compression:

Stored size: 677 Bytes

Contents

var metadata = require('./_metadata');
var anObject = require('./_an-object');
var getPrototypeOf = require('./_object-gpo');
var ordinaryHasOwnMetadata = metadata.has;
var toMetaKey = metadata.key;

var ordinaryHasMetadata = function (MetadataKey, O, P) {
  var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
  if (hasOwn) return true;
  var parent = getPrototypeOf(O);
  return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;
};

metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {
  return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
} });

Version data entries

64 entries across 29 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.41 node_modules/core-js/library/modules/es7.reflect.has-metadata.js
immosquare-cleaner-0.1.41 node_modules/core-js/modules/es7.reflect.has-metadata.js
immosquare-cleaner-0.1.40 node_modules/core-js/modules/es7.reflect.has-metadata.js
immosquare-cleaner-0.1.40 node_modules/core-js/library/modules/es7.reflect.has-metadata.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/library/modules/es7.reflect.has-metadata.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/modules/es7.reflect.has-metadata.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/modules/es7.reflect.has-metadata.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/modules/es7.reflect.has-metadata.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/library/modules/es7.reflect.has-metadata.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/library/modules/es7.reflect.has-metadata.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/library/modules/es7.reflect.has-metadata.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/modules/es7.reflect.has-metadata.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/library/modules/es7.reflect.has-metadata.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/modules/es7.reflect.has-metadata.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/library/modules/es7.reflect.has-metadata.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/modules/es7.reflect.has-metadata.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/library/modules/es7.reflect.has-metadata.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/modules/es7.reflect.has-metadata.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/library/modules/es7.reflect.has-metadata.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/modules/es7.reflect.has-metadata.js