isBrowser top-level property

bool isBrowser

Whether we're running as browser (not Node.js or Dart VM).

This is determined by checking for the querySelector function in the browser's Document API.

Implementation

bool get isBrowser => throw '';