Returns true if inject() can be used without warning about being called in the wrong place (e.g. outside of
setup()). This is used by libraries that want to use inject() internally without triggering a warning to the end
user. One example is useRoute() in vue-router.
Returns true if
inject()
can be used without warning about being called in the wrong place (e.g. outside of setup()). This is used by libraries that want to useinject()
internally without triggering a warning to the end user. One example isuseRoute()
invue-router
.