isJavaScript top-level constant
bool
const isJavaScript
True, if the code is running in JavaScript.
Implementation
const bool isJavaScript = identical(1, 1.0);
True, if the code is running in JavaScript.
const bool isJavaScript = identical(1, 1.0);