imports/vx/client/code/ux.js
/**
     * Determine whether a given route path is the current route path, or
     * if not, if it is a path currently on the iOS stack.
     *
     * @param {string} routePath Route path to find.
     * @return {boolean} True if the specified route path is current or on stack.
     */
Determine whether a given route path is the current route path, or
if not, if it is a path currently on the iOS stack.

@param {string} routePath Route path to find.
@return {boolean} True if the specified route path is current or on stack.
Determine whether a given route path is the current route path or if not if it is a path currently on the iOS stack . @param { string } routePath Route path to find . @return { boolean } True if the specified route path is current or on stack .
iosIsRoutePathOnStack(routePath) {
        if (Util.isRoutePath(routePath)) {
            return true
        }
        let stack = UX.getIosStack()
        let found = false
        stack.every(state => {
            if (state.path.indexOf(routePath) >= 0) {
                found = true
                return false
            }
            return true
        })
        return found
    }
iosIsRoutePathOnStack ( routePath ) { if ( Util . isRoutePath ( routePath ) ) { return true } let stack = UX . getIosStack ( ) let found = false stack . every ( state => { if ( state . path . indexOf ( routePath ) >= 0 ) { found = true return false } return true } ) return found }
Determine whether a given route path is the current route path, or
 if not, if it is a path currently on the iOS stack.
Determine whether a given route path is the current route path or if not if it is a path currently on the iOS stack .