b03465977f37f9eb9bd8f2d861a0a679623ce9e5d730b6dcfaadf3112ac59c7b6156ce995ea305ce56693deb774e2d80101355bd6221ebac1b4066b6434be1 407 B

1234567891011
  1. 'use strict';
  2. var isPrototypeOf = require('../../internals/object-is-prototype-of');
  3. var method = require('../string/virtual/is-well-formed');
  4. var StringPrototype = String.prototype;
  5. module.exports = function (it) {
  6. var own = it.isWellFormed;
  7. return typeof it == 'string' || it === StringPrototype
  8. || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.isWellFormed) ? method : own;
  9. };