diff --git a/snippets/when.md b/snippets/when.md index 20244a12b..5d19dd253 100644 --- a/snippets/when.md +++ b/snippets/when.md @@ -3,7 +3,7 @@ title: when tags: function,intermediate --- -Tests a value, `x`, against a `predicate` function, conditionally applying a function. +Tests a value, `x`, against a testing function, conditionally applying a function. - Check if the value of `predicate(x)` is `True` and if so return `when_true(x)`, otherwise return `x`.