diff options
| author | razetime <raghuallthetime@hotmail.com> | 2022-01-19 22:48:16 +0530 |
|---|---|---|
| committer | razetime <raghuallthetime@hotmail.com> | 2022-01-19 22:48:16 +0530 |
| commit | 2c50d91ec7eb8bc7890befe874a0b93729c2437e (patch) | |
| tree | eb621b86b3c8269ab2dd63bd3c628acdf3521059 /help/!assert assertwithmsg.md | |
| parent | 6c111f1e71e945f66977aecc3322318aa21beacc (diff) | |
add h2s remove copied output, ascii filenames
Diffstat (limited to 'help/!assert assertwithmsg.md')
| -rw-r--r-- | help/!assert assertwithmsg.md | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/help/!assert assertwithmsg.md b/help/!assert assertwithmsg.md deleted file mode 100644 index 80dfb851..00000000 --- a/help/!assert assertwithmsg.md +++ /dev/null @@ -1,33 +0,0 @@ -*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/!assert assertwithmsg.html).* - -# Exclamation Mark (`!`) - -`! 𝕩`: Assert - -Throw an error if `𝕩` is not 1. - - ! 1 - 1 - ! 2 - Error: Assertion error - at ! 2 - ^ - ! "hello" - Error: hello - at ! "hello" - - -`𝕨 ! 𝕩`: Dyad - -Throw an error with message `𝕨` if `𝕩` is not 1. - - "hi" ! 1 - 1 - "two" ! 2 - Error: two - at "two" ! 2 - ^ - "hello error" ! "hello" - Error: hello error - at "hello error" ! "hello" - |
