Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsWhiteSpace()

static bool System.Text.Rune.IsWhiteSpace ( Rune value)
inlinestatic

Definition at line 784 of file Rune.cs.

785 {
786 if (value.IsAscii)
787 {
788 return (AsciiCharInfo[value.Value] & 0x80) != 0;
789 }
790 if (value.IsBmp)
791 {
792 return CharUnicodeInfo.GetIsWhiteSpace((char)value._value);
793 }
794 return false;
795 }
static ReadOnlySpan< byte > AsciiCharInfo
Definition Rune.cs:15

References System.Text.Rune.AsciiCharInfo, System.Globalization.CharUnicodeInfo.GetIsWhiteSpace(), and System.value.