feat: conditional

This commit is contained in:
cha0s 2019-06-08 00:23:57 -05:00
parent 7d4ab97fa0
commit 0c36f7a325

View File

@ -13,6 +13,12 @@ export class Globals {
return x - y;
}
conditional(condition, actions, context) {
if (condition.get(context)) {
return this.serial(actions, context);
}
}
makeArray(...args) {
return args;
}