@huukhanhnguyen/geometry / wasmExport
wasmExport
wasmExport()
wasmExport<
T>(mod, ...names):T
Pick the first function a loaded geometry-wasm actually exports. Throws when none of the names is a function — a missing door is a crash, not a later is not a function on the caller.
Type Parameters
T
T
Parameters
mod
object
names
...string[]
Returns
T