SpreadJS 14
GC.Spread.CalcEngine.Functions Namespace / Function type / findTestArgument Method
In This Topic
    findTestArgument Method
    In This Topic
    Finds the test argument when this function is branched.
    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.findTestArgument();
    function findTestArgument() : number;

    Return Value

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

    Reference

    Function type