isNodeJs top-level property

bool get isNodeJs

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

This is determined by validating that process.release.name == "node".

Implementation

bool get isNodeJs => throw '';