Namespace: hangul

hangul

Source:

Classes

Map
Set

Namespaces

dubeol
misc
sebeol

Members

<static> finals :hangul.Map

List of modern hangul finals. The details are the same as hangul.initials. The list does not include a filler.
Type:
Source:

<static> initials :hangul.Map

List of modern hangul initial jamo. Actually some of these charaters are not just initials, but can also be final jamo. Thus many characters in this list overlap with the characters in hangul.finals.
Type:
Source:

<static> jamo :hangul.Map

List of modern hangul jamo (U+3131-U+3163).
Type:
Source:

<static> medials :hangul.Map

List of modern hangul medials.
Type:
Source:

Methods

<static> compose(ini, med, fin)

Composes from the specified constituent jamo a hangul syllable. Use undefined or an empty string '' for the final filler. Returns undefined if any of the arguments are not a modern jamo, except for the final which can also be either undefined or an empty string.
Parameters:
Name Type Description
ini string initial
med string medial
fin string final (optional)
Source:

<static> composeDoubleJamo(c1, c2)

Composes from the specified jamo a double jamo. Returns undefined if the specified jamo do not make a double jamo.
Parameters:
Name Type Description
c1 string
c2 string
Source:

<static> decompose(s)

Decomposes the first character of the specified string into constituent jamo and returns them as an array of length 3 (or 2 if there is no final). They are obtained using hangul.getInitial, hangul.getMedial and hangul.getFinal. Returns undefined if the character is not a hangul syllable.
Parameters:
Name Type Description
s string
Source:

<static> decomposeDoubleJamo(c)

Decomposes the specified double jamo into two jamo and returns them as an array of length 2. Returns undefined if the specified jamo is not a double jamo.
Parameters:
Name Type Description
c string
Source:

<static> getFinal(s)

Returns the final of the first chacater of the specified string, or an empty string '' if the syllable has no final jamo. Returns undefined if the character is not a hangul syllable.
Parameters:
Name Type Description
s string
Source:

<static> getInitial(s)

Returns the initial of the first chacater of the specified string. Returns undefined if the character is not a hangul syllable.
Parameters:
Name Type Description
s string
Source:

<static> getMedial(s)

Returns the medial of the first chacater of the specified string. Returns undefined if the character is not a hangul syllable.
Parameters:
Name Type Description
s string
Source:

<static> isFinal(s)

Returns true if the first character of the specified string represents modern hangul finals.
Parameters:
Name Type Description
s string
Source:

<static> isHangul(s)

Returns true if the first character of the specified string represents modern hangul characters (U+3131-U+3163 and U+AC00-U+D7A3; no support for the "Hangul Jamo", "Hangul Jamo Extended-A", "Hangul Jamo Extended-B" blocks).
Parameters:
Name Type Description
s string
Source:

<static> isInitial(s)

Returns true if the first character of the specified string represents modern hangul initials.
Parameters:
Name Type Description
s string
Source:

<static> isIotizedVowel(s)

Returns true if the first character of the specified string represents a iotized vowel (including the close front vowel) that may cause palatalization.
Parameters:
Name Type Description
s string
Source:

<static> isJamo(s)

Returns true if the first character of the specified string represents modern jamo (U+3131-U+3163).
Parameters:
Name Type Description
s string
Source:

<static> isMedial(s)

Returns true if the first character of the specified string represents modern hangul medials.
Parameters:
Name Type Description
s string
Source:

<static> isSyllable(s)

Returns true if the first character of the specified string represents modern hangul syllables (U+AC00-U+D7A3).
Parameters:
Name Type Description
s string
Source: