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

◆ IsWhiteSpace()

static bool System.MemoryExtensions.IsWhiteSpace ( this ReadOnlySpan< char > span)
inlinestatic

Definition at line 1352 of file MemoryExtensions.cs.

1353 {
1354 for (int i = 0; i < span.Length; i++)
1355 {
1356 if (!char.IsWhiteSpace(span[i]))
1357 {
1358 return false;
1359 }
1360 }
1361 return true;
1362 }
static bool IsWhiteSpace(this ReadOnlySpan< char > span)

References System.MemoryExtensions.IsWhiteSpace().

Referenced by System.MemoryExtensions.ClampEnd(), System.MemoryExtensions.IsWhiteSpace(), System.MemoryExtensions.Trim(), and System.MemoryExtensions.TrimEnd().