rename type? to type

This commit is contained in:
Pekka Laiho 2020-06-04 16:10:15 +07:00
parent 7c9ed7ca27
commit 6146f3b475

View File

@ -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';