Lawtext core references / core/src/law/num
Module: core/src/law/num
Table of contents
Enumerations
Variables
Functions
Variables
aiuChars
• Const
aiuChars: "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン"
Defined in
core/src/law/num.ts:59 (opens in a new tab)
circledDigitChars
• Const
circledDigitChars: "⓪①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳㉑㉒㉓㉔㉕㉖㉗㉘㉙㉚㉛㉜㉝㉞㉟㊱㊲㊳㊴㊵㊶㊷㊸㊹㊺㊻㊼㊽㊾㊿"
Defined in
core/src/law/num.ts:57 (opens in a new tab)
irohaChars
• Const
irohaChars: "イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセスン"
Defined in
core/src/law/num.ts:58 (opens in a new tab)
Functions
digitsToKanjiNum
▸ digitsToKanjiNum(digits
, type
): string
Parameters
Name | Type |
---|---|
digits | string | number |
type | "positional" | "non-positional" |
Returns
string
Defined in
core/src/law/num.ts:38 (opens in a new tab)
parseKanjiNum
▸ parseKanjiNum(text
): null
| number
Parameters
Name | Type |
---|---|
text | string |
Returns
null
| number
Defined in
core/src/law/num.ts:5 (opens in a new tab)
parseNamedNum
▸ parseNamedNum(text
, kanaMode?
): string
Parameters
Name | Type | Default value |
---|---|---|
text | string | undefined |
kanaMode | KanaMode | KanaMode.Iroha |
Returns
string