Skip to content

Check if a key exists #2191

@tawmoto

Description

@tawmoto

Hi,

Is there a method to check if a key exists? Other than using .at() and catching the exception?
Sometimes I get a field named error in the json response and I would like to check it also.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions