Sha256: b90a6a80bd0203cb38b7087b41efe3f9467b88b500a9cc765e787b026a0a88a2

Contents?: true

Size: 269 Bytes

Versions: 64

Compression:

Stored size: 269 Bytes

Contents

'use strict';
var fails = require('./_fails');

module.exports = function (method, arg) {
  return !!method && fails(function () {
    // eslint-disable-next-line no-useless-call
    arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);
  });
};

Version data entries

64 entries across 29 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.51 node_modules/core-js/modules/_strict-method.js
immosquare-cleaner-0.1.50 node_modules/core-js/modules/_strict-method.js
immosquare-cleaner-0.1.50 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.49 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.49 node_modules/core-js/modules/_strict-method.js
immosquare-cleaner-0.1.48 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.48 node_modules/core-js/modules/_strict-method.js
immosquare-cleaner-0.1.47 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.47 node_modules/core-js/modules/_strict-method.js
immosquare-cleaner-0.1.46 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.46 node_modules/core-js/modules/_strict-method.js
immosquare-cleaner-0.1.45 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.45 node_modules/core-js/modules/_strict-method.js
immosquare-cleaner-0.1.44 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.44 node_modules/core-js/modules/_strict-method.js
immosquare-cleaner-0.1.43 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.43 node_modules/core-js/modules/_strict-method.js
immosquare-cleaner-0.1.42 node_modules/core-js/library/modules/_strict-method.js
immosquare-cleaner-0.1.42 node_modules/core-js/modules/_strict-method.js