You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
LeaVerou
changed the title
Method for getting arbitrary familial relationships
Function for getting arbitrary familial relationships
Apr 1, 2024
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.The text was updated successfully, but these errors were encountered: