-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Check if a key exists #2191
Copy link
Copy link
Closed
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Description
Activity
Metadata
Metadata
Assignees
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
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
errorin the json response and I would like to check it also.Thanks.