🅰️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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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