Boolean filter

Yes, no, or unset.

const definition: FilterDefinition = {
	kind: "boolean",
	key: "opened",
	label: "Opened",
	trueLabel: "Opened",
	falseLabel: "Not opened",
};

Two option pills, the same control as a single-choice select. "Any" is the empty selection: tap the active pill again, or Clear, to unset the filter.