Skip to content

Type Align

Type allignment

Type align is a function that returns the alignment that is to be applied to the given type of variable. The returned value is in bytes.

var i64_allign = type_align(int64);
var f64_allign = type_align(float64);
var i32_allign = type_align(int32);