io.input.boolean
Requests a boolean value.
Usage
- TypeScript
- JavaScript
const shouldSubscribe = await io.input.boolean("Subscribe to our newsletter?");
const shouldSubscribe = await io.input.boolean("Subscribe to our newsletter?");
interval.com
Props
- TypeScript
- JavaScript
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
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?