結果 : typescript check if is function