"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const GetNumberSequence_1 = __importDefault(require("./GetNumberSequence"));
const countryPhoneCodes_1 = __importDefault(require("./countryPhoneCodes"));
function phoneNumberStart(name) {
    let phone_number = GetNumberSequence_1.default(name);
    let start = false;
    for (let i = 0; i < countryPhoneCodes_1.default.length; i++) {
        if (phone_number.startsWith(countryPhoneCodes_1.default[i].code)) {
            start = true;
            break;
        }
    }
    return start;
}
exports.default = phoneNumberStart;
