iswasm
Checks if version is for WebAssembly platform.
📝Syntax
s = iswasm()
📤Output Arguments
Parameter Description
s a logical: true if it is a WebAssembly platform.
📄Description

iswasm checks if it is a WebAssembly platform.

It returns true when Nelson runs from a WebAssembly build (in a browser or a WebAssembly runtime), and false otherwise.

💡Examples
if iswasm
  disp('Your platform is WebAssembly')
else
  disp('Your platform is not WebAssembly')
end
🔗See Also
ispcisunixismac
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub