---
name: "tixGetBoolean"
section: "3tix"
platform: "linux"
package: "tix-dev"
version: "8.4.0-6"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/tixGetBoolean/3tix"
---

# tixGetBoolean(3tix)

Get the boolean value of a string.

## NAME

tixGetBoolean - Get the boolean value of a string.

## SYNOPSIS

**tixGetBoolean** *?-nocomplain? string*

## DESCRIPTION

The command **tixGetBoolean** returns "0" if the string is a valid TCL string for the boolean value FALSE. It returns "1" if the string is a valid TCL string for the boolean value TRUE.

When the string is not a valid TCL boolean value and the **-nocomplain** option is specified, **tixGetBoolean** will return "0". Otherwise it will generate an error.

## KEYWORDS

Tix(n)
