SpreadJS 13
GC.Spread.Sheets.Outlines Namespace / OutlineInfo type / contains Method
The index of the group item.
In This Topic
    contains Method
    In This Topic
    Compares this instance to a specified OutlineInfo object and returns an indication of their relative values.
    Syntax
    var instance = new GC.Spread.Sheets.Outlines.OutlineInfo(model, start, end, level);
    var value; // Type: boolean
    value = instance.contains(index);
    function contains( 
       index : number
    ) : boolean;

    Parameters

    index
    The index of the group item.

    Return Value

    true if the range group contains the specified index; otherwise, false.
    See Also