From 6146f3b475828fe3bb53ceb28ba947ee1f886601 Mon Sep 17 00:00:00 2001 From: Pekka Laiho Date: Thu, 4 Jun 2020 16:10:15 +0700 Subject: [PATCH] rename type? to type --- src/Lib/Types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';