func decode()

in Sources/llbuild2fx/CommandLineArgsCoder.swift [544:552]


    func decode(_ type: Bool.Type, forKey key: Key) throws -> Bool {
        let value = try data.decode(key: codingPath + [key])
        guard value == "true" || value == "false" else {
            throw DecodingError.typeMismatch(
                Bool.Type.self, DecodingError.Context(codingPath: codingPath + [key], debugDescription: "invalid value")
            )
        }
        return value == "true"
    }