Check out example codes for "using either macro within goto sugarcube". It will help you in understanding the concepts better.

Code Example 1

/* Using a temporary variable */
<<set _where to either("kitchen", "garden", "cellar")>><<goto _where>>

/* Using a backtick expression */
<<goto `either("kitchen", "garden", "cellar")`>>

Learn ReactJs, React Native from akashmittal.com