isRunningAsJavascript top-level property
bool
get
isRunningAsJavascript
Special runtime trick to known whether we are in the javascript world
Implementation
bool get isRunningAsJavascript => identical(1, 1.0);