HolyLib Wiki

GetBool

  boolean IGameEvent:GetBool( string key, boolean fallback )

Description

Returns the boolean stored in the specific key.

Arguments

1string key
The key to get the value of
2boolean fallback
The fallback value if the key doesn't exist / isn't set

Returns

1boolean value
The value found, or the fallback value