Skip to main content

io.input.boolean

Requests a boolean value.

Usage

const shouldSubscribe = await io.input.boolean("Subscribe to our newsletter?");
interval.com

Props

defaultValue

Required

Default value for the input.

disabled

Optional

boolean

Whether the input is disabled, preventing edits to the `defaultValue`.

helpText

Optional

string

Optional label providing additional context. Supports inline markdown elements like bold, italics, and links.

Returns

boolean

Did this section clearly explain what you wanted to learn?
On this page