isCached
isCached
- check if screen/component was already preloaded
Call this function if you need to check whether the component was already loaded or not:
isCached(componentName: string)
=> boolean
componentName
- name of the component/screen that was registered inregister
function