Skip to content

%in% operator not supported #189

Description

@codeZeilen

magpie objects currently do not support the %in% operator in that it results in a plain logical instead of another magpie object.

The following results in a magpie object:

maxample("animal") == 5 | maxample("animal") == 6

but this does not:

maxample("animal") %in% c(5, 6)

Still need to check whether this can actually be implemented for a custom class, probably by implementing a custom base::match.

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