Skip to content

Function for getting arbitrary familial relationships #31

@LeaVerou

Description

@LeaVerou

Currently we have methods for getting parents, children, ancestors (walkUp(), closest()), descendants (find(), walk()).
While the use cases for other relationships are more niche, they do exist (e.g. in Mavo we have things like getCousin() because we need it for finding the same note across repetitions of its parent item).

We definitely don't want to add functions like getCousin()! But I do wonder if there is something more general that might make sense here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions