isDefined function

bool isDefined(
  1. dynamic x
)

Implementation

bool isDefined(x) {
    return x == null;
}