import { FrugalList , FrugalListItem } from "./types" ; export function FrugalList_forEach < T > ( self , callback ) { if ( self !== undefined ) { if ( Array . isArray ( self ) ) { for ( let index = 0 ; index < self . length ; index ++ ) { callback ( self [ index ] ) ; } } else { callback ( self ) ; } } }