UNPKG

@4players/odin-common

Version:

A collection of commonly used type definitions and utility functions across ODIN web projects

11 lines (10 loc) 255 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.find = find; function find(entries, predicate) { for (const entry of entries) { if (predicate(entry)) return entry; } return undefined; }