SpreadJS 13
GC.Spread.CalcEngine Namespace / Functions type / Function Method
The name of the function.
The minimum number of arguments for the function.
The maximum number of arguments for the function.
The description object of the function.
The description of the function.
The parameters' description array of the function.
The parameter name..
Whether the parameter is repeatable.
Whether the parameter is optional.
In This Topic
    Function Method
    In This Topic
    Represents an abstract base class for defining functions.
    Syntax
    var value; // Type: any
    value = GC.Spread.CalcEngine.Functions.Function(name,
                                                    minArgs,
                                                    maxArgs,
                                                    functionDescription,
                                                    functionDescription.description,
                                                    functionDescription.parameter,
                                                    functionDescription.parameter.name,
                                                    functionDescription.parameter.repeatable,
                                                    functionDescription.parameter.optional);
    function Function( 
       name : string,
       minArgs : number,
       maxArgs : number,
       functionDescription : Object,
       (optional) functionDescription.description : string,
       (optional) functionDescription.parameter : undefined,
       functionDescription.parameter.name : string,
       (optional) functionDescription.parameter.repeatable : boolean,
       (optional) functionDescription.parameter.optional : boolean
    ) : any;

    Parameters

    name
    The name of the function.
    minArgs
    The minimum number of arguments for the function.
    maxArgs
    The maximum number of arguments for the function.
    functionDescription
    The description object of the function.
    functionDescription.description
    The description of the function.
    functionDescription.parameter
    The parameters' description array of the function.
    functionDescription.parameter.name
    The parameter name..
    functionDescription.parameter.repeatable
    Whether the parameter is repeatable.
    functionDescription.parameter.optional
    Whether the parameter is optional.
    See Also

    Reference

    Functions type