Refactored ValueType to FunctionValueType

It was causing issues.
This commit is contained in:
Jordan Wages 2025-08-20 05:21:57 -05:00
commit 82ceb7e5cd
8 changed files with 40 additions and 40 deletions

View file

@ -1,5 +1,5 @@
using csmic;
using ValueType = csmic.ValueType;
using FunctionValueType = csmic.FunctionValueType;
namespace stdlib.functions
{
@ -35,12 +35,12 @@ namespace stdlib.functions
return false;
}
if (argument.Value.Type == ValueType.Numeric && argument.Value.Value is not decimal)
if (argument.Value.Type == FunctionValueType.Numeric && argument.Value.Value is not decimal)
{
return false;
}
if (argument.Value.Type == ValueType.String && argument.Value.Value is not string)
if (argument.Value.Type == FunctionValueType.String && argument.Value.Value is not string)
{
return false;
}