SpreadJS Documentation
GC.Spread.CalcEngine.Functions Namespace / Function type / findBranchArgument Method
The test.
In This Topic
    findBranchArgument Method
    In This Topic
    Finds the branch argument.
    Syntax
    var instance = new GC.Spread.CalcEngine.Functions.Function(name,
                                                              minArgs,
                                                              maxArgs,
                                                              functionDescription,
                                                              functionDescription.description,
                                                              functionDescription.parameter,
                                                              functionDescription.parameter.name,
                                                              functionDescription.parameter.repeatable,
                                                              functionDescription.parameter.optional);
    var value; // Type: number
    value = instance.findBranchArgument(test);
    function findBranchArgument( 
       test : object
    ) : number;

    Parameters

    test
    The test.

    Return Value

    Indicates the index of the argument that would be treated as the branch condition.
    See Also

    Reference

    Function type