Description Usage Arguments Value
counts the number of outcomes that satisfied a given criterion.
1 2 |
fun |
(outcome -> bool): A function that takes in an outcome and returns a True / False. Only the outcomes that return True will be counted. |
int: The number of outcomes for which the function returned True.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.