Library
core
src
law
std
helpers
Readme

Lawtext core referencesDocs


Lawtext core references / core/src/law/std/helpers

core/src/law/std/helpers

Enumerations

Era

Enumeration Members

Heisei

Heisei: "Heisei"

Defined in

core/src/law/std/helpers.ts:9 (opens in a new tab)


Meiji

Meiji: "Meiji"

Defined in

core/src/law/std/helpers.ts:6 (opens in a new tab)


Reiwa

Reiwa: "Reiwa"

Defined in

core/src/law/std/helpers.ts:10 (opens in a new tab)


Showa

Showa: "Showa"

Defined in

core/src/law/std/helpers.ts:8 (opens in a new tab)


Taisho

Taisho: "Taisho"

Defined in

core/src/law/std/helpers.ts:7 (opens in a new tab)

Type Aliases

AppdxItem

AppdxItem: AppdxFig | AppdxStyle | AppdxFormat | AppdxTable | AppdxNote | Appdx

Defined in

core/src/law/std/helpers.ts:295 (opens in a new tab)


AppdxItemTitle

AppdxItemTitle: AppdxFigTitle | AppdxStyleTitle | AppdxFormatTitle | AppdxTableTitle | AppdxNoteTitle | ArithFormulaNum

Defined in

core/src/law/std/helpers.ts:316 (opens in a new tab)


ArticleGroup

ArticleGroup: Part | Chapter | Section | Subsection | Division

Defined in

core/src/law/std/helpers.ts:139 (opens in a new tab)


ArticleGroupTitle

ArticleGroupTitle: PartTitle | ChapterTitle | SectionTitle | SubsectionTitle | DivisionTitle

Defined in

core/src/law/std/helpers.ts:158 (opens in a new tab)


ListOrSublist

ListOrSublist: List | Sublist1 | Sublist2 | Sublist3

Defined in

core/src/law/std/helpers.ts:214 (opens in a new tab)


ListOrSublistSentence

ListOrSublistSentence: ListSentence | Sublist1Sentence | Sublist2Sentence | Sublist3Sentence

Defined in

core/src/law/std/helpers.ts:231 (opens in a new tab)


NoteLike

NoteLike: Note | Style | Format

Defined in

core/src/law/std/helpers.ts:247 (opens in a new tab)


NoteLikeStruct

NoteLikeStruct: NoteStruct | StyleStruct | FormatStruct

Defined in

core/src/law/std/helpers.ts:262 (opens in a new tab)


NoteLikeStructTitle

NoteLikeStructTitle: NoteStructTitle | StyleStructTitle | FormatStructTitle

Defined in

core/src/law/std/helpers.ts:277 (opens in a new tab)


ParagraphItem

ParagraphItem: Paragraph | Item | Subitem1 | Subitem2 | Subitem3 | Subitem4 | Subitem5 | Subitem6 | Subitem7 | Subitem8 | Subitem9 | Subitem10

Defined in

core/src/law/std/helpers.ts:34 (opens in a new tab)


ParagraphItemSentence

ParagraphItemSentence: ParagraphSentence | ItemSentence | Subitem1Sentence | Subitem2Sentence | Subitem3Sentence | Subitem4Sentence | Subitem5Sentence | Subitem6Sentence | Subitem7Sentence | Subitem8Sentence | Subitem9Sentence | Subitem10Sentence

Defined in

core/src/law/std/helpers.ts:100 (opens in a new tab)


ParagraphItemTitle

ParagraphItemTitle: ParagraphNum | ItemTitle | Subitem1Title | Subitem2Title | Subitem3Title | Subitem4Title | Subitem5Title | Subitem6Title | Subitem7Title | Subitem8Title | Subitem9Title | Subitem10Title

Defined in

core/src/law/std/helpers.ts:67 (opens in a new tab)


SupplProvisionAppdxItem

SupplProvisionAppdxItem: SupplProvisionAppdxTable | SupplProvisionAppdxStyle | SupplProvisionAppdx

Defined in

core/src/law/std/helpers.ts:334 (opens in a new tab)


SupplProvisionAppdxItemTitle

SupplProvisionAppdxItemTitle: SupplProvisionAppdxTableTitle | SupplProvisionAppdxStyleTitle | ArithFormulaNum

Defined in

core/src/law/std/helpers.ts:349 (opens in a new tab)


TOCArticleGroup

TOCArticleGroup: TOCPart | TOCChapter | TOCSection | TOCSubsection | TOCDivision

Defined in

core/src/law/std/helpers.ts:177 (opens in a new tab)


TOCItem

TOCItem: TOCArticleGroup | TOCPreambleLabel | TOCArticle | TOCSupplProvision | TOCAppdxTableLabel

Defined in

core/src/law/std/helpers.ts:196 (opens in a new tab)

Variables

appdxItemTags

const appdxItemTags: readonly ["AppdxFig", "AppdxStyle", "AppdxFormat", "AppdxTable", "AppdxNote", "Appdx"]

Defined in

core/src/law/std/helpers.ts:286 (opens in a new tab)


appdxItemTitleTags

const appdxItemTitleTags: readonly ["AppdxFigTitle", "AppdxStyleTitle", "AppdxFormatTitle", "AppdxTableTitle", "AppdxNoteTitle", "ArithFormulaNum"]

Defined in

core/src/law/std/helpers.ts:307 (opens in a new tab)


articleGroupTags

const articleGroupTags: readonly ["Part", "Chapter", "Section", "Subsection", "Division"]

Defined in

core/src/law/std/helpers.ts:131 (opens in a new tab)


articleGroupTitleTags

const articleGroupTitleTags: readonly ["PartTitle", "ChapterTitle", "SectionTitle", "SubsectionTitle", "DivisionTitle"]

Defined in

core/src/law/std/helpers.ts:150 (opens in a new tab)


articleGroupTypeChars

const articleGroupTypeChars: readonly ["編", "章", "節", "款", "目"]

Defined in

core/src/law/std/helpers.ts:129 (opens in a new tab)


eras

const eras: object

Type declaration

令和

readonly 令和: Reiwa = Era.Reiwa

大正

readonly 大正: Taisho = Era.Taisho

平成

readonly 平成: Heisei = Era.Heisei

明治

readonly 明治: Meiji = Era.Meiji

昭和

readonly 昭和: Showa = Era.Showa

Defined in

core/src/law/std/helpers.ts:13 (opens in a new tab)


listOrSublistSentenceTags

const listOrSublistSentenceTags: readonly ["ListSentence", "Sublist1Sentence", "Sublist2Sentence", "Sublist3Sentence"]

Defined in

core/src/law/std/helpers.ts:224 (opens in a new tab)


listOrSublistTags

const listOrSublistTags: readonly ["List", "Sublist1", "Sublist2", "Sublist3"]

Defined in

core/src/law/std/helpers.ts:207 (opens in a new tab)


listTags

const listTags: readonly ["List", "Sublist1", "Sublist2", "Sublist3"]

Defined in

core/src/law/std/helpers.ts:119 (opens in a new tab)


noteLikeStructTags

const noteLikeStructTags: readonly ["NoteStruct", "StyleStruct", "FormatStruct"]

Defined in

core/src/law/std/helpers.ts:256 (opens in a new tab)


noteLikeStructTitleTags

const noteLikeStructTitleTags: readonly ["NoteStructTitle", "StyleStructTitle", "FormatStructTitle"]

Defined in

core/src/law/std/helpers.ts:271 (opens in a new tab)


noteLikeTags

const noteLikeTags: readonly ["Note", "Style", "Format"]

Defined in

core/src/law/std/helpers.ts:241 (opens in a new tab)


paragraphItemSentenceTags

const paragraphItemSentenceTags: readonly ["ParagraphSentence", "ItemSentence", "Subitem1Sentence", "Subitem2Sentence", "Subitem3Sentence", "Subitem4Sentence", "Subitem5Sentence", "Subitem6Sentence", "Subitem7Sentence", "Subitem8Sentence", "Subitem9Sentence", "Subitem10Sentence"]

Defined in

core/src/law/std/helpers.ts:85 (opens in a new tab)


paragraphItemTags

const paragraphItemTags: readonly ["Paragraph", "Item", "Subitem1", "Subitem2", "Subitem3", "Subitem4", "Subitem5", "Subitem6", "Subitem7", "Subitem8", "Subitem9", "Subitem10"]

Defined in

core/src/law/std/helpers.ts:19 (opens in a new tab)


paragraphItemTitleTags

const paragraphItemTitleTags: readonly ["ParagraphNum", "ItemTitle", "Subitem1Title", "Subitem2Title", "Subitem3Title", "Subitem4Title", "Subitem5Title", "Subitem6Title", "Subitem7Title", "Subitem8Title", "Subitem9Title", "Subitem10Title"]

Defined in

core/src/law/std/helpers.ts:52 (opens in a new tab)


supplProvisionAppdxItemTags

const supplProvisionAppdxItemTags: readonly ["SupplProvisionAppdxTable", "SupplProvisionAppdxStyle", "SupplProvisionAppdx"]

Defined in

core/src/law/std/helpers.ts:328 (opens in a new tab)


supplProvisionAppdxItemTitleTags

const supplProvisionAppdxItemTitleTags: readonly ["SupplProvisionAppdxTableTitle", "SupplProvisionAppdxStyleTitle", "ArithFormulaNum"]

Defined in

core/src/law/std/helpers.ts:343 (opens in a new tab)


tocArticleGroupTags

const tocArticleGroupTags: readonly ["TOCPart", "TOCChapter", "TOCSection", "TOCSubsection", "TOCDivision"]

Defined in

core/src/law/std/helpers.ts:169 (opens in a new tab)


tocItemTags

const tocItemTags: readonly ["TOCPart", "TOCChapter", "TOCSection", "TOCSubsection", "TOCDivision", "TOCPreambleLabel", "TOCArticle", "TOCSupplProvision", "TOCAppdxTableLabel"]

Defined in

core/src/law/std/helpers.ts:188 (opens in a new tab)


typeCharsMap

const typeCharsMap: object

Type declaration

readonly : "SupplProvision" = "SupplProvision"

readonly : "Item" = "Item"

readonly : "Article" = "Article"

readonly : "Subsection" = "Subsection"

readonly : "Law" = "Law"

readonly : "Division" = "Division"

readonly : "Chapter" = "Chapter"

readonly : "Section" = "Section"

readonly : "Part" = "Part"

readonly : "Paragraph" = "Paragraph"

Defined in

core/src/law/std/helpers.ts:122 (opens in a new tab)

Functions

isAppdxItem()

isAppdxItem(el): el is AppdxItem

Parameters

el: string | EL

Returns

el is AppdxItem

Defined in

core/src/law/std/helpers.ts:304 (opens in a new tab)


isAppdxItemTitle()

isAppdxItemTitle(el): el is AppdxItemTitle

Parameters

el: string | EL

Returns

el is AppdxItemTitle

Defined in

core/src/law/std/helpers.ts:325 (opens in a new tab)


isArticleGroup()

isArticleGroup(el): el is ArticleGroup

Parameters

el: string | EL

Returns

el is ArticleGroup

Defined in

core/src/law/std/helpers.ts:147 (opens in a new tab)


isArticleGroupTitle()

isArticleGroupTitle(el): el is ArticleGroupTitle

Parameters

el: string | EL

Returns

el is ArticleGroupTitle

Defined in

core/src/law/std/helpers.ts:166 (opens in a new tab)


isListOrSublist()

isListOrSublist(el): el is ListOrSublist

Parameters

el: string | EL

Returns

el is ListOrSublist

Defined in

core/src/law/std/helpers.ts:221 (opens in a new tab)


isListOrSublistSentence()

isListOrSublistSentence(el): el is ListOrSublistSentence

Parameters

el: string | EL

Returns

el is ListOrSublistSentence

Defined in

core/src/law/std/helpers.ts:238 (opens in a new tab)


isNoteLike()

isNoteLike(el): el is NoteLike

Parameters

el: string | EL

Returns

el is NoteLike

Defined in

core/src/law/std/helpers.ts:253 (opens in a new tab)


isNoteLikeStruct()

isNoteLikeStruct(el): el is NoteLikeStruct

Parameters

el: string | EL

Returns

el is NoteLikeStruct

Defined in

core/src/law/std/helpers.ts:268 (opens in a new tab)


isNoteLikeStructTitle()

isNoteLikeStructTitle(el): el is NoteLikeStructTitle

Parameters

el: string | EL

Returns

el is NoteLikeStructTitle

Defined in

core/src/law/std/helpers.ts:283 (opens in a new tab)


isParagraphItem()

isParagraphItem(el): el is ParagraphItem

Parameters

el: string | EL

Returns

el is ParagraphItem

Defined in

core/src/law/std/helpers.ts:49 (opens in a new tab)


isParagraphItemSentence()

isParagraphItemSentence(el): el is ParagraphItemSentence

Parameters

el: string | EL

Returns

el is ParagraphItemSentence

Defined in

core/src/law/std/helpers.ts:115 (opens in a new tab)


isParagraphItemTitle()

isParagraphItemTitle(el): el is ParagraphItemTitle

Parameters

el: string | EL

Returns

el is ParagraphItemTitle

Defined in

core/src/law/std/helpers.ts:82 (opens in a new tab)


isSupplProvisionAppdxItem()

isSupplProvisionAppdxItem(el): el is SupplProvisionAppdxItem

Parameters

el: string | EL

Returns

el is SupplProvisionAppdxItem

Defined in

core/src/law/std/helpers.ts:340 (opens in a new tab)


isSupplProvisionAppdxItemTitle()

isSupplProvisionAppdxItemTitle(el): el is SupplProvisionAppdxItemTitle

Parameters

el: string | EL

Returns

el is SupplProvisionAppdxItemTitle

Defined in

core/src/law/std/helpers.ts:355 (opens in a new tab)


isTOCArticleGroup()

isTOCArticleGroup(el): el is TOCArticleGroup

Parameters

el: string | EL

Returns

el is TOCArticleGroup

Defined in

core/src/law/std/helpers.ts:185 (opens in a new tab)


isTOCItem()

isTOCItem(el): el is TOCItem

Parameters

el: string | EL

Returns

el is TOCItem

Defined in

core/src/law/std/helpers.ts:204 (opens in a new tab)