Returns the name of the character
const text: Text = new Text("אֱלֹהִ֑ים");
text.chars[0].characterName;
// "ALEF"
Returns true
if the Char
is a consonant
const text: Text = new Text("אֱלֹהִ֑ים");
text.chars[0].isConsonant;
// true
Returns true
if the Char
is a dagesh
const text: Text = new Text("בּ");
text.chars[1].isDagesh;
// true
Returns true
if the Char
is a ligature
const text: Text = new Text("שָׁלֽוֹם");
text.chars[1].isLigature;
// true
Returns true
if the Char
is not a Hebrew character
const text: Text = new Text("a");
text.chars[0].isNotHebrew;
// true
Returns true
if the Char
is a rafe
const text: Text = new Text("בֿ");
text.chars[1].isRafe;
// true
Returns true
if the Char
is a sheva
const text: Text = new Text("בְ");
text.chars[1].isSheva;
// true
Returns true
if the Char
is a taamim
const text: Text = new Text("בֺ֨");
text.chars[2].isTaamim;
// true
Returns true
if the Char
is a sheva
const text: Text = new Text("בֺ");
text.chars[1].isVowel;
// true
a number used for sequencing
const text: Text = new Text("אֱלֹהִ֑ים");
text.chars[0].sequencePosition; // the aleph
// 0
text.chars[1].sequencePosition; // the segol
// 3
the text of the Char
const text: Text = new Text("אֱלֹהִ֑ים");
text.chars[0].text;
// "א"
Generated using TypeDoc
A Hebrew character and its positioning number for being sequenced correctly. See [[
Cluster
]] for correct normalization.