I have this basic codebase
import { FirebaseApp, FirebaseOptions } from "firebase/app";
function example(app){
// error: FirebaseApp only refers to a type
console.log(app instanceof FirebaseApp)
}
here FirebaseApp
is a typescript interface which is not exists in runtime,
how to check if the provided arg is an instance of firebase app