SpreadJS Documentation
GC.Spread.Sheets.Sparklines Namespace / SparklineGroup type / contains Method
The object to locate in the group.
In This Topic
    contains Method
    In This Topic
    Determines whether the group contains a specific value.
    Syntax
    var instance = new GC.Spread.Sheets.Sparklines.SparklineGroup(type, setting);
    var value; // Type: boolean
    value = instance.contains(item);
    function contains( 
       item : Sparkline
    ) : boolean;

    Parameters

    item
    The object to locate in the group.

    Return Value

    true if the item is found in the group; otherwise, false.
    See Also