SpreadJS 14
GC.Spread.CalcEngine.Functions Namespace / Function type / acceptsError Method
Index of the argument.
In This Topic
    acceptsError Method
    In This Topic
    Indicates whether the function can process Error values.
    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.acceptsError(argIndex);
    function acceptsError( 
       argIndex : number
    ) : boolean;

    Parameters

    argIndex
    Index of the argument.

    Return Value

    true if the function can process Error values for the specified argument; otherwise, false.
    See Also

    Reference

    Function type