aboutsummaryrefslogtreecommitdiff
path: root/help/!assert assertwithmsg.md
diff options
context:
space:
mode:
Diffstat (limited to 'help/!assert assertwithmsg.md')
-rw-r--r--help/!assert assertwithmsg.md33
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"
-