Sha256: eb08644c68bd8ae3b4422be6443641d6d31c260f321ee6bca95d30ee6e43a047
Contents?: true
Size: 395 Bytes
Versions: 7
Compression:
Stored size: 395 Bytes
Contents
'use strict'; require('../../modules/es.promise'); require('../../modules/esnext.promise.try'); var isCallable = require('../../internals/is-callable'); var path = require('../../internals/path'); var Promise = path.Promise; var promiseTry = Promise['try']; module.exports = { 'try': function (callbackfn) { return promiseTry.call(isCallable(this) ? this : Promise, callbackfn); } }['try'];
Version data entries
7 entries across 7 versions & 1 rubygems