isWhitespace static method

bool isWhitespace(
  1. String string
)

returns true if the string only contains whitespace characters. We use the same definition of whitespace as String.trim.

Implementation

static bool isWhitespace(String string) => Style.isWhitespace(string);