Companion

object Companion

Functions

Link copied to clipboard
infix fun choice(script: (Flags) -> Answer): Decision

Create a step with a specified script. This is a simple wrapper of 'decision' that provides the same functionality but with simplified syntax.

Link copied to clipboard
infix fun decision(setup: Decision.() -> Unit): Decision

Create a step with a specified setup.