isText function

bool isText(
  1. Uint8List bytes
)

Returns false if bytes is binary else true

Implementation

bool isText(Uint8List bytes) {
  return !isBinary(bytes);
}