isJavaScript top-level constant

const isJavaScript = identical(1, 1.0)

True, if the code is running in JavaScript.

Implementation

const bool isJavaScript = identical(1, 1.0)