Przeglądaj źródła

add transformNull

Aaron Bassett 12 lat temu
rodzic
commit
1cff3a6751
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      src/app/services/graphite/gfunc.js

+ 7 - 0
src/app/services/graphite/gfunc.js

@@ -215,6 +215,13 @@ function (_) {
     defaultParams: [10]
   });
 
+  addFuncDef({
+    name: 'transformNull',
+    category: categories.Transform,
+    params: [ { name: "amount", type: "int", } ],
+    defaultParams: [0]
+  });
+
   addFuncDef({
     name: 'integral',
     category: categories.Transform,