Skip to content

How to get all keys of one object? #1177

@oyoungs

Description

@oyoungs

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions