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