Einhugur macOS Bridge plugin. |

# NSUserDefaults.BooleanForKey Method

Gets or sets Boolean value for given key.

BooleanForKey(
key as String) as Boolean
BooleanForKey(
key as String
assigns value as Boolean)

#### Parameters

key
  The key to get or set
value (assignment parameter)
  The value to set.

#### Returns

Boolean
  Returns the value for the requested key or false if key was not found or if the key did not contain Boolean value..

#### Remarks

#### See Also

NSUserDefaults Class