Skip to content

RuntimePlatformIsWeb

Include: Use System\Application.pkg

Returns true when the runtime platform is WASM or WASI.

Type: Function

Return data type: Boolean

Syntax

Function RuntimePlatformIsWeb Global Returns Boolean

Call

Boolean bWeb
Get RuntimePlatformIsWeb to bWeb

Description

Returns true when the runtime platform is WASM or WASI. RuntimePlatformId returns one of the C_RuntimePlaformId_* constants.

See also