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