diff options
| author | mryouse | 2022-05-12 02:59:46 +0000 |
|---|---|---|
| committer | mryouse | 2022-05-12 02:59:46 +0000 |
| commit | 93b11f7de37266aa0b753544b6d197a498e6f8d9 (patch) | |
| tree | d0f0f287c3f9802f8c516921a45b2569a4a6ce38 /README.md | |
| parent | acaf5dc93d2495b709e0d059b9037ceb143de3af (diff) | |
progress 5/11
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -27,7 +27,14 @@ - `(concat [arg1 :string] [arg2 :string]) => :string` ### flow control - - `(if [cond :bool] [t-branch :expr] [f-branch :expr]) => :any` + - `(if [cond :bool] [t-branch :any] [[f-branch :any]]) => :any` + +### type checking + - `(string? [arg :any]) => :bool` + - `(int? [arg :any]) => :bool` + - `(float? [arg :any]) => :bool` + - `(number? [arg :any]) => :bool ; returns #true for :int or :float` + - `(bool? [arg :any]) => :bool` ### other - pretty much nothing else @@ -47,7 +54,7 @@ ### flow control - [x] if -- [ ] if with empty else +- [x] if with empty else - [ ] branch ### lists |
