Skip to content

Commit 8f5502e

Browse files
Tweak language and fix small errors
1 parent 82076b8 commit 8f5502e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/ml_is_event_detected.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Checks if an ML action is the estimated action.
66
ml.isDetected(ml.event.Unknown)
77
```
88

9-
The ML model updates its estimated action several times a second. This function compares the latest value of the estimated value to the action you choose. Use the boolean value to make logical decisions in your program.
9+
The ML model updates its estimated action several times a second. This function returns `true` if the chosen action is currently estimated. Use the boolean value to make logical decisions in your program.
1010

1111
Some programs will be easier to write using the “on ML start” and “on ML stop” event handlers instead.
1212

docs/ml_on_event_stop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# on ML stop
22

3-
Start an [event handler](/reference/event-handler) (part of the program that will run when something happens). This handler works when the ML model’s estimated action changes to the action you select.
3+
Start an [event handler](/reference/event-handler) (part of the program that will run when something happens). This handler works when the ML model’s estimated action changes from the action you select.
44

55
```sig
66
ml.onStop(ml.event.Unknown, function () {

docs/ml_on_event_stop_detailed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# on ML stop
22

3-
Start an [event handler](/reference/event-handler) (part of the program that will run when something happens). This handler works when the ML model’s estimated action changes to the action you select.
3+
Start an [event handler](/reference/event-handler) (part of the program that will run when something happens). This handler works when the ML model’s estimated action changes from the action you select.
44

55
```sig
66
ml.onStopDetailed(ml.event.Unknown, function (duration) {

0 commit comments

Comments
 (0)