zIsWeb top-level constant

bool const zIsWeb

Whether running on the Web.

Since JS does not support integers, an int and a double will be identical when representing the same value. However, this will not be true for all other compilation targets.

Implementation

const bool zIsWeb = identical(0, 0.0);