diff --git a/src/Lib/Types.php b/src/Lib/Types.php index 175aed8..b7c139c 100644 --- a/src/Lib/Types.php +++ b/src/Lib/Types.php @@ -38,7 +38,7 @@ class Types implements ILib // Test types - $env->set('type?', new CoreFunc('type?', 'Return the type of argument as a string.', 1, 1, + $env->set('type', new CoreFunc('type', 'Return the type of argument as a string.', 1, 1, function ($a) { if ($a instanceof Func) { return 'function';