• If cell is a markdown heading, sets the headingCollapsed field, and otherwise hides the cell.

    Parameters

    • cell: Cell<ICellModel>

      The cell to collapse / expand

    • collapsing: boolean

      Whether to collapse or expand the given cell

    Returns any