diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-19 16:06:15 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-19 16:07:54 -0500 |
| commit | 8c2607133c1147eee5588738c9b05467b799b127 (patch) | |
| tree | 4e60cd11ca720dac4c68268a32c61b8ce1d0ec12 /docs/help/assert_assertwithmsg.html | |
| parent | 9adb6f754d9e69b9db28b413eba90e3c4515d649 (diff) | |
Align filenames with repl.js descriptions
Diffstat (limited to 'docs/help/assert_assertwithmsg.html')
| -rw-r--r-- | docs/help/assert_assertwithmsg.html | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/docs/help/assert_assertwithmsg.html b/docs/help/assert_assertwithmsg.html deleted file mode 100644 index e172ecbd..00000000 --- a/docs/help/assert_assertwithmsg.html +++ /dev/null @@ -1,29 +0,0 @@ -<head> - <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> - <link href="../style.css" rel="stylesheet"/> - <title>BQN: Exclamation Mark (`!`)</title> -</head> -<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> -<h1 id="exclamation-mark-"><a class="header" href="#exclamation-mark-">Exclamation Mark (<code><span class='Function'>!</span></code>)</a></h1> -<h2 id="--assert"><a class="header" href="#--assert"><code><span class='Function'>!</span> <span class='Value'>𝕩</span></code>: Assert</a></h2> -<p>Throw an error if <code><span class='Value'>𝕩</span></code> is not 1.</p> -<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgISAxCgogICAhIDIKCiAgICEgImhlbGxvIg==">↗️</a><pre> <span class='Function'>!</span> <span class='Number'>1</span> -1 - - <span class='Function'>!</span> <span class='Number'>2</span> -<span class='Error'>Error: Assertion error</span> - - <span class='Function'>!</span> <span class='String'>"hello"</span> -<span class='Error'>Error: hello</span> -</pre> -<h2 id="---dyad"><a class="header" href="#---dyad"><code><span class='Value'>𝕨</span> <span class='Function'>!</span> <span class='Value'>𝕩</span></code>: Dyad</a></h2> -<p>Throw an error with message <code><span class='Value'>𝕨</span></code> if <code><span class='Value'>𝕩</span></code> is not 1.</p> -<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgImhpIiAhIDEKCiAgICJ0d28iICEgMgoKICAgImhlbGxvIGVycm9yIiAhICJoZWxsbyI=">↗️</a><pre> <span class='String'>"hi"</span> <span class='Function'>!</span> <span class='Number'>1</span> -1 - - <span class='String'>"two"</span> <span class='Function'>!</span> <span class='Number'>2</span> -<span class='Error'>Error: two</span> - - <span class='String'>"hello error"</span> <span class='Function'>!</span> <span class='String'>"hello"</span> -<span class='Error'>Error: hello error</span> -</pre> |
