getExampleNumber.js 504 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports["default"] = getExampleNumber;
  6. var _PhoneNumber = _interopRequireDefault(require("./PhoneNumber.js"));
  7. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
  8. function getExampleNumber(country, examples, metadata) {
  9. if (examples[country]) {
  10. return new _PhoneNumber["default"](country, examples[country], metadata);
  11. }
  12. }
  13. //# sourceMappingURL=getExampleNumber.js.map