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