func decode()

in Sources/llbuild2fx/CommandLineArgsCoder.swift [802:809]


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