Functionsยง
- const_
matches ๐ - Returns
trueifais the const variant ofbor vice versa (e.g.CInt<->Int). - const_
variant ๐ - Converts a mutable
TypeAnnotationto its immutable (C-prefixed) variant. - enum_
matches ๐ - Returns
trueifaandbare the same named tag (enum), regardless ofEnum/CEnum(mutable/const) mismatch. - null_
array_ ๐elision - Returns
trueif two array types are compatible when either inner type isNull(i.e. an empty array[]is compatible with any typed array). - null_
map_ ๐elision - record_
matches ๐ - Returns
trueifaandbare the same named record, regardless ofRecord/CRecord(mutable/const) mismatch. - set_
matches ๐