Sha256: 9c492e82b34fe0a0b2e7c540480743ae218db854000be8fb47593056c09e80a9
Contents?: true
Size: 384 Bytes
Versions: 64
Compression:
Stored size: 384 Bytes
Contents
var metadata = require('./_metadata'); var anObject = require('./_an-object'); var ordinaryGetOwnMetadata = metadata.get; var toMetaKey = metadata.key; metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { return ordinaryGetOwnMetadata(metadataKey, anObject(target) , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); } });
Version data entries
64 entries across 29 versions & 8 rubygems