🅰️Character Functions

A set of utility functions that help identify various types of Arabic characters. These functions make it easy to analyze and manipulate Arabic text.

Table of Contents

isSukun

Syntax

Sukun(arChar)

Description

Checks if the given Arabic character is a Sukun.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Sukun, false otherwise.

isShadda

Syntax

isShadda(arChar)

Description

Checks if the given Arabic character is a Shadda.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Shadaa, false otherwise.

isTatweel

Syntax

isTatweel(arChar)

Description

Checks if the given Arabic character is a Tatweel.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Tatweel, false otherwise.

isTanwin

Syntax

isTatweel(arChar)

Description

Checks if the given Arabic character is a Tanwin.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Tanwin, false otherwise.

isTashkeel

Syntax

isTashkeel(arChar)

Description

Checks if the given Arabic character is a Tashkeel.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Tashkeel, false otherwise.

isHaraka

Syntax

isHaraka(arChar)

Description

Checks if the given Arabic character is a Haraka.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Haraka, false otherwise.

isShortHaraka

Syntax

isShortHaraka(arChar)

Description

Checks if the given Arabic character is a Short Haraka.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Short Haraka, false otherwise.

isLigature

Syntax

isLigature(arChar)

Description

Checks if the given Arabic character is a Ligature.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Ligature, false otherwise.

isHamza

Syntax

isHamza(arChar)

Description

Checks if the given Arabic character is a Hamza.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Hamza, false otherwise.

isAlef

Syntax

isAlef(arChar)

Description

Checks if the given Arabic character is a Alef.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Alef, false otherwise.

isYehLike

Syntax

isYehLike(arChar)

Description

Checks if the given Arabic character is a Yeh Like.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Yeh Like, false otherwise.

isWawLike

Syntax

isWawLike(arChar)

Description

Checks if the given Arabic character is a Waw Like.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Waw Like, false otherwise.

isTeh

Syntax

isTeh(arChar)

Description

Checks if the given Arabic character is a Teh.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Teh, false otherwise.

isSmall

Syntax

isSmall(arChar)

Description

Checks if the given Arabic character is a Small.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Small, false otherwise.

isWeak

Syntax

isWeak(arChar)

Description

Checks if the given Arabic character is a Weak.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Weak, false otherwise.

isMoon

Syntax

isMoon(arChar)

Description

Checks if the given Arabic character is a Moon.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Moon, false otherwise.

isSun

Syntax

isSun(arChar)

Description

Checks if the given Arabic character is a Sun.

Parameters

  • arChar - The Arabic character to check.

Returns

  • boolean - Returns true if the character is a Sun, false otherwise.

Last updated