export class ArrayUtil { static param { ( any [ ] | undefined | null ) } array param { * } item memberof static removeItemFromArray ( array , item ) { if ( array ) { for ( var i = 0 ; i < array . length ; i ++ ) { var it = array [ i ] ; if ( item == it ) { array . splice ( i , 1 ) ; } } } } }