JavaScript APIuiNamespacesinputFunctionsboolOn this pagebool() bool(name, options?): InputBase<boolean> Parameters ParameterTypenamestringoptions?IInputInitOptions<boolean> Returns InputBase<boolean> Source ui.ts:899