UNPKG

wechaty-redux

Version:

Wechaty Redux Plugin Powered By Ducks

5 lines 370 B
const getQrCode = (state) => (puppetId) => state.puppet[puppetId]?.qrcode; const getCurrentUser = (state) => (puppetId) => state.puppet[puppetId]?.currentUser; // PUPPET.payloads.Contact const isLoggedIn = (state) => (puppetId) => state.puppet[puppetId]?.currentUser !== undefined; export { getQrCode, getCurrentUser, isLoggedIn, }; //# sourceMappingURL=selectors.js.map