References
Model
Renames and exports ModelX
Functions
getGeneratedStatefulFunction
- getGeneratedStatefulFunction(__namedParameters: GeneratedStatefulFunctionParams): GeneratedStatefulFunction
-
Parameters
-
__namedParameters: GeneratedStatefulFunctionParams
Returns GeneratedStatefulFunction
sumPreviousRows
- sumPreviousRows(options: SumPreviousRowsOptions): number
-
Parameters
-
options: SumPreviousRowsOptions
Returns number
Takes an object that describes a function to be created from a function body string
getGeneratedStatefulFunction({ variable_name='myFunctionName', function_body='return 3', function_name_prefix='customFunction_', }) => function customFunction_myFunctionName(state){ 'use strict'; return 3; }