isSpace package:base-prelude

Returns True for any Unicode space character, and the control characters \t, \n, \r, \f, \v.