結果 : typescript determine if object is array