Can i use Expo navigation from a function instead of using <Link> component?

Hi, Apologies if i posted in a wrong thread. Very new here and wasn’t sure where to ask questions.
I’m following the official expo documentation for navigating between pages.

However, what i’d like to accomplish is:
a) Perform validation on SignUp button press
b) After validation navigate to the new page

Does expo Navigation have equivalent of navigation.navigate()? I need to be able to call expo navigation from handleSubmitForm function instead of linking to another page right away.

     <Link href="/about">About</Link>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.