diff options
| author | razetime <raghuallthetime@hotmail.com> | 2022-01-19 21:21:13 +0530 |
|---|---|---|
| committer | razetime <raghuallthetime@hotmail.com> | 2022-01-19 21:21:13 +0530 |
| commit | 6c111f1e71e945f66977aecc3322318aa21beacc (patch) | |
| tree | 6831313b4698e9a5302ce8d9596afae966e08461 /help/!assert assertwithmsg.md | |
| parent | cf65cfb32f34b7c9fed4614479d8242c51321bac (diff) | |
Primitive Symbol help pages generated
Diffstat (limited to 'help/!assert assertwithmsg.md')
| -rw-r--r-- | help/!assert assertwithmsg.md | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/help/!assert assertwithmsg.md b/help/!assert assertwithmsg.md index 4e823a1e..80dfb851 100644 --- a/help/!assert assertwithmsg.md +++ b/help/!assert assertwithmsg.md @@ -1,31 +1,33 @@ -Exclamation Mark (`!`) +*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" -``` + + ! 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" -```
\ No newline at end of file + + "hi" ! 1 + 1 + "two" ! 2 + Error: two + at "two" ! 2 + ^ + "hello error" ! "hello" + Error: hello error + at "hello error" ! "hello" + |
