util-operators.js 178 B

12345678
  1. function getOperationById(id) {
  2. for (let i = 0; i < operations.length; i++) {
  3. if (operations[i].id == id )
  4. return operations[i];
  5. }
  6. return null;
  7. }