JavaScriptEnvironment

Environment of type JavaScript

Constructors

Link copied to clipboard
constructor()
constructor()

Properties

Link copied to clipboard
expect val isBrowser: Boolean

Is the JavaScriptEnvironment running in a browser

actual val isBrowser: Boolean
actual val isBrowser: Boolean
Link copied to clipboard

Is the Environment a JVM Environment

Is the Environment a JVM Environment

Is the Environment a JVM Environment

Link copied to clipboard

Is the Environment a JavaScript Environment

Is the Environment a JavaScript Environment

Is the Environment a JavaScript Environment

Link copied to clipboard

Is the Environment a JavaScript Environment inside a browser

Is the Environment a JavaScript Environment inside a browser

Is the Environment a JavaScript Environment inside a browser

Link copied to clipboard

Is the Environment a JavaScript Environment that has Node functions available (such as fs or path lib)

Is the Environment a JavaScript Environment that has Node functions available (such as fs or path lib)

Is the Environment a JavaScript Environment that has Node functions available (such as fs or path lib)

Link copied to clipboard

Is Node available in the JavaScriptEnvironment

Link copied to clipboard
expect val nodeVersion: String

The node version of the JavaScriptEnvironment

actual val nodeVersion: String
actual val nodeVersion: String
Link copied to clipboard

The type of the Environment

The type of the Environment

The type of the Environment

Functions

Link copied to clipboard

Casts this Environment to a JavaScriptEnvironment

Casts this Environment to a JavaScriptEnvironment

Casts this Environment to a JavaScriptEnvironment

Link copied to clipboard

Casts this Environment to a JavaScriptEnvironment

Casts this Environment to a JavaScriptEnvironment

Casts this Environment to a JavaScriptEnvironment