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