結果 : typescript check if object is null or empty