isBoolean function

bool isBoolean(
  1. dynamic value
)

Implementation

bool isBoolean(dynamic value) {
  return value is bool;
}