This commit is contained in:
2026-05-13 08:13:07 -05:00
parent 7501c74712
commit 86858ef26f
4 changed files with 34 additions and 6 deletions

View File

@@ -9,6 +9,11 @@ TYC_TYPE value_type(VALUE v)
return v.type;
}
bool type_is_collectable(TYC_TYPE t)
{
return t == TT_STRING || t == TT_ARRAY || t == TT_TABLE;
}
int32_t value_integer(VALUE v)
{
#ifdef CHECK_TYCHE_BUGS