closed top-level property

bool get closed

Returns true if the window has been closed, false otherwise.

MDN Reference

Implementation

_i2.bool get closed => _i4.getProperty(
      _self,
      'closed',
    );