Home Manual Reference Source

src/iterDown.js

export default function* iterDown(head) {
	while (head !== null) {
		yield head;
		head = head.down;
	}
}