Sha256: 8ccbefcbab597cfde5fb5334cffe7652e8261b683c15009af5b69136c08b8b42

Contents?: true

Size: 641 Bytes

Versions: 36

Compression:

Stored size: 641 Bytes

Contents

var $ = require('../internals/export');
var ReflectMetadataModule = require('../internals/reflect-metadata');
var anObject = require('../internals/an-object');

var ordinaryHasOwnMetadata = ReflectMetadataModule.has;
var toMetadataKey = ReflectMetadataModule.toKey;

// `Reflect.hasOwnMetadata` method
// https://github.com/rbuckton/reflect-metadata
$({ target: 'Reflect', stat: true }, {
  hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {
    var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
    return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey);
  }
});

Version data entries

36 entries across 35 versions & 9 rubygems

Version Path
condenser-0.2 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js
condenser-0.1 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js
condenser-0.0.12 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js
condenser-0.0.11 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js
condenser-0.0.10 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js
condenser-0.0.9 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js
condenser-0.0.8 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js
jester-data-8.0.0 node_modules/core-js/modules/esnext.reflect.has-own-metadata.js
ezii-os-5.2.1 node_modules/core-js/modules/esnext.reflect.has-own-metadata.js
ezii-os-2.0.1 node_modules/core-js/modules/esnext.reflect.has-own-metadata.js
ezii-os-1.1.0 node_modules/core-js/modules/esnext.reflect.has-own-metadata.js
ezii-os-1.0.0 node_modules/core-js/modules/esnext.reflect.has-own-metadata.js
condenser-0.0.7 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js
ezii-os-0.0.0.1.0 node_modules/core-js/modules/esnext.reflect.has-own-metadata.js
ezii-os-0.0.0.0.1 node_modules/core-js/modules/esnext.reflect.has-own-metadata.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js-pure/modules/esnext.reflect.has-own-metadata.js