Skip to content

How to traverse Record types? #78

@cowboyd

Description

@cowboyd

Is there the equivalent of the array value elems() traversal for Record values? I'm thinking things like keys(), values(), and entries().

Also, if you want to compose optics that are not included in the builder syntax is there an "escape hatch"? In other words, how would I define a values() traversal in user-land that didn't require a change to optics-ts itself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions