Function isAreaModelRowGroups

  • True for the body model of a row grouping (AreaModelRowGroups). It is a tree as well (isAreaModelTree is true). Works across copies of the core.

    Parameters

    • o: any

      the object to check, e.g. tableModel.getBodyModel()

    Returns o is AreaModelRowGroups<any>

    true for a row grouping

    Example

    const body = tableModel.getBodyModel();
    const groups = isAreaModelRowGroups(body) ? body.getGroups() : [];

    Since

    1.1.94