mirror of
https://github.com/peklaiho/madlisp.git
synced 2024-11-22 21:35:03 +00:00
rename type? to type
This commit is contained in:
parent
7c9ed7ca27
commit
6146f3b475
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user