UNPKG

@shopgate/engage

Version:
9 lines 469 B
import{createSelector}from'reselect';/** * Retrieves the app state from the store. * @param {Object} state The current application state. * @return {Object} The locations state. */var getState=function getState(state){return state.app;};/** * Checks if the app webview is currently visible * @param {Object} state The application state. * @returns {boolean} */export var getIsAppWebViewVisible=createSelector(getState,function(app){return app.webViewVisible;});