結果 : typescript get first element of array if array is not null