Sha256: 93c0e3666a4b6d7eaa80523f6199a3b834ab0c8c0bcde065c080d287f3e6271d
Contents?: true
Size: 300 Bytes
Versions: 36
Compression:
Stored size: 300 Bytes
Contents
var matchAll = require('../string/virtual/match-all'); var StringPrototype = String.prototype; module.exports = function (it) { var own = it.matchAll; return typeof it === 'string' || it === StringPrototype || (it instanceof String && own === StringPrototype.matchAll) ? matchAll : own; };
Version data entries
36 entries across 35 versions & 9 rubygems