Category "assemblyscript"

How to test if a function asserts in a NEAR smart contract (AssemblyScript)?

I have a function in my NEAR smart-contract (AssemblyScript) that I want to test. I want to test if the assertion actually happened. AssemblyScript foo(id: stri

Is it possible to use string literal types in AssemblyScript?

Is it possible to create a string literal type in AssemblyScript that resembles the type keyword used in TypeScript? TypeScript example: export type MyType = 'f

How to export classes from AssemblyScript?

I am trying to port my simple collision detection library from JavaScript to WebAssembly for speed. After looking up languages that compile to WASM, AssemblyScr