Skip to content

Commit b9594bc

Browse files
Update assertionFailureFunction.md
1 parent 181ad47 commit b9594bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/developers/core/assertionFailureFunction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
## 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
2+
The assertion failure function checks if the condition is true.
3+
The function is **not** exposed in any PXT platform, instead use a shim to access
44
this function.
55

66
Here is the shim path.
77

88
`//% shim=pxt::getThrownValue`
99

10-
There is a `control.assert` function, but it is too high level and different compared to this function.
10+
There is a `control.assert` function, but it is different and more limited compared to this function.
1111

1212
Here is a snippet showing it correctly.
1313

0 commit comments

Comments
 (0)