API reference: @salmonui/data-grid/engine/tree
checkStateOffunction
import { checkStateOf } from '@salmonui/data-grid/engine/tree';function checkStateOf(layout: TreeLayout, counts: Int32Array, sourceIndex: number, own: boolean): TreeCheckState;
Tri-state of a row: checked when it and every kept descendant are
selected, unchecked when none is, else mixed.