結果 : check if variable is instance of interface typescript