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