-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
How to get all keys of one object? #1177
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
Sometimes, I got an object, and need all keys of the object, but the iterator can only give me the value of one key-value pair. I want to use it like "auto keys = obj.keys()" to get all keys, but I can't find the interface. Is there anything to fix?