Skip to main content

Overview

This function lets you cast (treat) an instance of a component as a component so that you can access the states and variables of the component.

Parameters

asComponent(component)
  • Component: The component instance to cast.
I