UNPKG

read-gedcom

Version:
27 lines 890 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectionNamePieces = void 0; const mixin_1 = require("./mixin"); const internal_1 = require("./internal"); class SelectionNamePieces extends (0, mixin_1.SelectionWithNoteSourceCitationMixin)(internal_1.SelectionAny) { getPrefixName() { return this.get("NPFX" /* Tag.NamePrefix */); } getGivenName() { return this.get("GIVN" /* Tag.GivenName */); } getNickname() { return this.get("NICK" /* Tag.Nickname */); } getPrefixSurname() { return this.get("SPFX" /* Tag.SurnamePrefix */); } getSurname() { return this.get("SURN" /* Tag.Surname */); } getNameSuffix() { return this.get("NSFX" /* Tag.NameSuffix */); } } exports.SelectionNamePieces = SelectionNamePieces; //# sourceMappingURL=SelectionNamePieces.js.map