Contents

decodeBool(forKey:)

Decodes a Boolean value associated with a given key.

Declaration

func decodeBool(forKey key: String) -> Bool

Parameters

  • key:

    A key in the archive within the current decoding scope. key must not be nil.

Return Value

The Boolean value associated with the key key. Returns false if key does not exist.

See Also

Related Documentation

Decoding Data