From 2c50d91ec7eb8bc7890befe874a0b93729c2437e Mon Sep 17 00:00:00 2001 From: razetime Date: Wed, 19 Jan 2022 22:48:16 +0530 Subject: add h2s remove copied output, ascii filenames --- help/!assert assertwithmsg.md | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 help/!assert assertwithmsg.md (limited to 'help/!assert assertwithmsg.md') 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" - -- cgit v1.2.3