Skip to main content

Function: selectUser()

function selectUser(state, ...params): undefined | IUser

Returns the authenticated user from the store, or undefined if not authenticated

Parameters​

state​

The first argument, often a Redux root state object.

params​

...[]

All additional arguments passed into the selector.

Returns​

undefined | IUser

A derived value from the state.

Param​

The BpSdk Redux store