Merge pull request #245 from magicrobotmonkey/add_functions

Add transformNull, minSeries and maxSeries
This commit is contained in:
Torkel Ödegaard 2014-03-29 05:00:41 -04:00
commit ba928e18bf

View File

@ -83,6 +83,18 @@ function (_) {
defaultParams: [3]
});
addFuncDef({
name: 'maxSeries',
shortName: 'max',
category: categories.Combine,
});
addFuncDef({
name: 'minSeries',
shortName: 'min',
category: categories.Combine,
});
addFuncDef({
name: 'averageSeriesWithWildcards',
category: categories.Combine,
@ -225,6 +237,13 @@ function (_) {
defaultParams: [10]
});
addFuncDef({
name: 'transformNull',
category: categories.Transform,
params: [ { name: "amount", type: "int", } ],
defaultParams: [0]
});
addFuncDef({
name: 'integral',
category: categories.Transform,