isBool function

bool isBool(
  1. Object? arg
)

Determines if the provided argument is of type boolean.

Implementation

bool isBool(Object? arg) => arg is bool;