import { FrugalList , FrugalListItem } from "./types" ; export function FrugalList_removeFirst < T > ( self , value ) { if ( self === value ) { return undefined ; } if ( Array . isArray ( self ) ) { const index = self . indexOf ( value ) ; if ( index >= 0 ) { self . splice ( index , 1 ) ; } } return self ; }