Sha256: c18460a269cf27d8302e18d59138867097799637c122cad16e30ce074cfb9703
Contents?: true
Size: 537 Bytes
Versions: 7
Compression:
Stored size: 537 Bytes
Contents
'use strict'; require('../../modules/es.aggregate-error'); require('../../modules/es.array.iterator'); require('../../modules/es.object.to-string'); require('../../modules/es.promise'); require('../../modules/es.promise.any'); require('../../modules/es.string.iterator'); var isCallable = require('../../internals/is-callable'); var path = require('../../internals/path'); var Promise = path.Promise; var $any = Promise.any; module.exports = function any(iterable) { return $any.call(isCallable(this) ? this : Promise, iterable); };
Version data entries
7 entries across 7 versions & 1 rubygems