lloyAlloy on GitHub
public
Docs

public

Updated
struct Counter
    count: number
end

impl Counter
    public function peek(self): number
        return self.count
    end
end

The default visibility, written out for symmetry with private. A public member is part of the struct's type in every file. Both words mark a member only before a name or function on the same line, so local private = {} and a field named private read as names.