Skip to main content

Function: getUserId()

function getUserId(state, ...params): string

Returns the current active user ID

Parameters

state

The first argument, often a Redux root state object.

params

...[]

All additional arguments passed into the selector.

Returns

string

A derived value from the state.

Param

The BpSdk Redux store