Skip to content

Is it possible to check if a key exists? #27

@pkese

Description

@pkese

I'm getting some unstructured objects and would like to check if o?myProp exists before extracting it?

Does this library allow me to do that somehow?

Currently, when accessing o?myProp, I'm getting:
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Object' does not contain a definition for 'myProp'

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