Skip to content

Check if value is type T on get (& set ?) #1

Description

@raiseandfall

Not-as-important request but....let's say somebody changes the value of the entry manually (like a string instead of an object).
I tested and the get() fails silently.

We should have a check on type, and then a remove() / error thingy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions