# GetBool

## GetBool(string, bool)

public bool GetBool(string name, bool defaultValue) ;

### Description

Get the value of the Bool type.

### Parameters

Parameter Name | Description
--- | ---
name | Name.
defaultValue | Default value. It is returned when there is no parameter.

### Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

## GetBool(int, bool)

public bool GetBool(int id, bool defaultValue) ;

### Description

Get the value of the Bool type.

### Parameters

Parameter Name | Description
--- | ---
id | ID.
defaultValue | Default value. It is returned when there is no parameter.

### Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

## GetBool(string, out bool)

Obsolete public bool GetBool(string name, out bool value) ;

### Description

Get the value of the Bool type.

### Parameters

Parameter Name | Description
--- | ---
name | Name.
value | Value.

### Returns

The true when there parameters of the specified name.

## GetBool(int, out bool)

Obsolete public bool GetBool(int id, out bool value) ;

### Description

Get the value of the Bool type.

### Parameters

Parameter Name | Description
--- | ---
id | ID.
value | Value.

### Returns

The true when there parameters of the specified name.