SpreadJS Documentation
GC.Spread.CalcEngine.Functions Namespace / Function type / acceptsMissingArgument Method
Index of the argument
In This Topic
    acceptsMissingArgument Method
    In This Topic
    Indicates whether the Evaluate method can process missing arguments.
    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: boolean
    value = instance.acceptsMissingArgument(argIndex);
    function acceptsMissingArgument( 
       argIndex : number
    ) : boolean;

    Parameters

    argIndex
    Index of the argument

    Return Value

    true if the Evaluate method can process missing arguments; otherwise, false.
    See Also

    Reference

    Function type