Sha256: 14c264764e7f0f0015a08b2b6928f840e43a4e3dce3d97bb30eefecdc5ff7940
Contents?: true
Size: 394 Bytes
Versions: 4
Compression:
Stored size: 394 Bytes
Contents
'use strict'; var isPrototypeOf = require('../../internals/object-is-prototype-of'); var method = require('../string/virtual/match-all'); var StringPrototype = String.prototype; module.exports = function (it) { var own = it.matchAll; return typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.matchAll) ? method : own; };
Version data entries
4 entries across 4 versions & 1 rubygems