encode(_:) Encodes the given value. Declarationmutating func encode(_ value: Bool) throws Parametersvalue: The value to encode. Discussion