`if (checkMissingParams(res, {x: x, y: y})) {`