UNPKG

harmonyc

Version:

Harmony Code - model-driven BDD for Vitest

6 lines (5 loc) 123 B
export function* flatMap(iterable, callback) { for (const value of iterable) { yield* callback(value); } }