Skip to main content

Module conversion

Module conversion 

Source
Expand description

Type Conversion FFI Functions for JIT

Functions for type checking and conversion in JIT-compiled code.

Functionsยง

jit_print
Print a NaN-boxed value to stdout with a newline
jit_to_number
Convert value to number
jit_to_string
Convert value to string
jit_type_check
Check if a value matches a type (returns TAG_BOOL_TRUE or TAG_BOOL_FALSE) type_name_bits should be a boxed string pointer with encoded type info
jit_typeof
Get typeof a value as a string