CheckUnicodeCategory(Char, out Boolean, out Boolean) Method

Definition

Namespace Markdig.Helpers
Assembly Markdig.dll

Checks the Unicode category of the given character and determines whether it is a whitespace or punctuation character.

public static void CheckUnicodeCategory(this char c, scoped out bool space, scoped out bool punctuation)

Parameters

c
Char

The character to check.

space
Boolean

Output parameter indicating whether the character is a whitespace character.

punctuation
Boolean

Output parameter indicating whether the character is a punctuation character.