UNPKG

tsch-ej-numbers

Version:

API for analyzing EuroJackpot lottery numbers, trends, and probabilities.

13 lines (12 loc) 444 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.handleGetMaxJackpot = handleGetMaxJackpot; var __1 = require(".."); function handleGetMaxJackpot(limit) { if (limit === void 0) { limit = 0; } var data = (0, __1.getRecords)(limit); var maxJackpotDataFilter = data.filter(function (item) { return item.countCl1 > 0 && item.quotaCl1 === 120000000; }); return maxJackpotDataFilter; }