SpreadJS 14
GC.Spread.CalcEngine.Functions Namespace / Function type
In This Topic
    Function type
    In This Topic
    Represents an abstract base class for defining functions.
    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);
    function Function;
    Inheritance Hierarchy

    Object
       GC.Spread.CalcEngine.Functions.Function

    Constructors
     NameDescription
    public ConstructorRepresents an abstract base class for defining functions.  
    Top
    Fields
     NameDescription
    public FieldRepresents the maximum number of arguments for the function.  
    public FieldRepresents the minimum number of arguments for the function.  
    public FieldRepresents the name of the function.  
    public FieldRepresents the type name string used for supporting serialization.  
    Top
    Methods
     NameDescription
    public MethodDetermines whether the function accepts array values for the specified argument.  
    public MethodIndicates whether the function can process Error values.  
    public MethodIndicates whether the Evaluate method can process missing arguments.  
    public MethodDetermines whether the function accepts Reference values for the specified argument.  
    public MethodReturns the description of the function.  
    public MethodReturns the result of the function applied to the arguments.  
    public MethodFinds the branch argument.  
    public MethodFinds the test argument when this function is branched.  
    public MethodGets a value that indicates whether this function is branched by arguments as conditional.  
    public MethodDetermines whether the evaluation of the function is dependent on the context in which the evaluation occurs.  
    public MethodDetermines whether the function is volatile while it is being evaluated.  
    Top
    See Also