hangulx
Version:
Providing various utilities for Hangul
65 lines (64 loc) • 2.97 kB
TypeScript
export declare class Vowel {
static disassembleFallingDiphthong(str: string): string[];
static disassembleFallingDiphthongToString(str: string): string;
static disassembleRisingDiphthong(str: string): string[];
static disassembleRisingDiphthongToString(str: string): string;
static isVowelCharCode(charCode: number): boolean;
/**
* 주어진 문자가 모음인지 확인합니다.
*
* Checks if the given character is a vowel.
*
* @param char - 검사할 단일 문자
* @param char - The single character to check
* @returns 모음이면 true, 아니면 false
* @returns true if the character is a vowel, otherwise false
*/
static isVowel(char: string): boolean;
/**
* 주어진 문자열의 모든 문자가 모음인지 확인합니다.
*
* Checks if all characters in the given string are vowels.
*
* @param str - 검사할 문자열
* @param str - The string to check
* @returns 문자열의 모든 문자가 모음이면 true, 아니면 false
* @returns true if all characters in the string are vowels, otherwise false
*/
static isVowelAll(str: string): boolean;
/**
* 주어진 문자열에 하나 이상의 모음이 포함되어 있는지 확인합니다.
*
* Checks if the given string contains at least one vowel.
*
* @param str - 검사할 문자열
* @param str - The string to check
* @returns 모음이 하나라도 있으면 true, 없으면 false
* @returns true if there is at least one vowel, otherwise false
*/
static hasVowel(str: string): boolean;
static isBasicVowelCharCode(charCode: number): boolean;
static isBasicVowel(char: string): boolean;
static isBasicVowelAll(str: string): boolean;
static hasBasicVowel(str: string): boolean;
static isComplexVowelCharCode(charCode: number): boolean;
static isComplexVowel(char: string): boolean;
static isComplexVowelAll(str: string): boolean;
static hasComplexVowel(str: string): boolean;
static isFallingDiphthongCode(charCode: number): boolean;
static isFallingDiphthong(char: string): boolean;
static isFallingDiphthongAll(str: string): boolean;
static hasFallingDiphthong(str: string): boolean;
static isRisingJDiphthongCode(charCode: number): boolean;
static isRisingJDiphthong(char: string): boolean;
static isRisingJDiphthongAll(str: string): boolean;
static hasRisingJDiphthong(str: string): boolean;
static isRisingWDiphthongCode(charCode: number): boolean;
static isRisingWDiphthong(char: string): boolean;
static isRisingWDiphthongAll(str: string): boolean;
static hasRisingWDiphthong(str: string): boolean;
static isRisingDiphthongCode(charCode: number): boolean;
static isRisingDiphthong(char: string): boolean;
static isRisingDiphthongAll(str: string): boolean;
static hasRisingDiphthong(str: string): boolean;
}