Case_When or If in Arquero

Hi there, new Observable user here. I love Arquero for R Tidyverse data wrangling similarity. However in the Arquero tutorials I didn’t see any kind of conditional new column creation(unless new columns can use JavaScript conditional syntax). I’m just looking for something simple like z = (if x >= 10 then “large” else “small”).

Any help is appreciated!

Here’s an example Derive and filter in arquero / recifs | Observable