Table of Contents

Method MirrorBracket

Namespace
DocWright.Core.Text
Assembly
DocWright.Core.dll

MirrorBracket(char, bool)

Mirrors one bracket-like character in RTL context.

public static char MirrorBracket(char value, bool rightToLeftContext)

Parameters

value char

The character.

rightToLeftContext bool

Whether mirroring applies.

Returns

char

The mirrored character when mapped; otherwise value.