Description Usage Arguments Examples
Take elements while the condition is true
1 |
sequence |
A lazy sequence. |
condition |
Take numbers until this condition function is |
1 2 | seq <- primeSequence()
unlist(takeWhile(seq, \(x) x < 100L))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.