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