/**
 * @license
 * Copyright 2021 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */
function*o(i,n){const t="function"==typeof n;if(void 0!==i){let f=-1;for(const e of i)f>-1&&(yield t?n(f):n),f++,yield e}}export{o as join};