View source code
Display the source code in std/uni.d from which this page was generated on
github.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Page wiki
View or edit the community-maintained wiki page associated with this page.
Struct std.uni.unicode.hangulSyllableType
Fetch a set of that have the given hangul syllable type.
Other non-binary properties (once supported) follow the same
notation - unicode.propertyName.propertyValue
for compile-time
checked access and unicode.propertyName(propertyValue)
for run-time checked one.
See the Unicode properties, table of properties for available sets.
Example
// L here is syllable type not Letter as in unicode.L short-cut auto leadingVowel = unicode.hangulSyllableType("L"); // check that some leading vowels are present foreach(vowel; '\u1110'..'\u115F') assert(leadingVowel[vowel]); assert(leadingVowel == unicode.hangulSyllableType.L);
Authors
Dmitry Olshansky