IsWhiteSpace()

System::MemoryExtensions::IsWhiteSpace(const ReadOnlySpan<char16_t>&) function

Checks if the entire span consists only of whitespace characters.

bool System::MemoryExtensions::IsWhiteSpace(const ReadOnlySpan<char16_t> &span)

Arguments

ParameterTypeDescription
spanconst ReadOnlySpan<char16_t>&The span to check for whitespace

Return Value

true if all characters in the span are whitespace, false otherwise

See Also