We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181ad47 commit b9594bcCopy full SHA for b9594bc
1 file changed
docs/developers/core/assertionFailureFunction.md
@@ -1,13 +1,13 @@
1
## Assert Failure Function
2
-The assertion failure function is a function that checks if the condition is true.
3
-The function is **not** exported in any PXT platform, instead you have to use a shim to access
+The assertion failure function checks if the condition is true.
+The function is **not** exposed in any PXT platform, instead use a shim to access
4
this function.
5
6
Here is the shim path.
7
8
`//% shim=pxt::getThrownValue`
9
10
-There is a `control.assert` function, but it is too high level and different compared to this function.
+There is a `control.assert` function, but it is different and more limited compared to this function.
11
12
Here is a snippet showing it correctly.
13
0 commit comments