Skip to content

Impl ObjectLike for Either #507

Open
@Diegovsky

Description

@Diegovsky

Since that trait is sealed, it would be nice and convenient to add an impl for it to Either if both sides implement it. That way, you could have a function that receives Either<Table, AnyUserData> and just use it normally, with a very high level API.

Later, you could implement Value::(as/is)_object_like() methods.

I would love to contribute this. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions