Skip to main content
Big news! Interval has been acquired by Meter. Learn more →

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

Was this section useful?
On this page