MCPcopy
hub / github.com/element-hq/element-web / safeGet

Method safeGet

apps/web/src/MatrixClientPeg.ts:99–99  ·  view source on GitHub ↗

* Get the current MatrixClient, throwing an error if there isn't one

()

Source from the content-addressed store, hash-verified

97 * Get the current MatrixClient, throwing an error if there isn't one
98 */
99 safeGet(): MatrixClient;
100
101 /**
102 * Unset the current MatrixClient

Callers 15

useTopic-test.tsxFile · 0.65
Unread-test.tsFile · 0.65
createRoom-test.tsFile · 0.65
mkStubDMFunction · 0.65
FilePanel-test.tsxFile · 0.65
RoomView-test.tsxFile · 0.65

Implementers 1

MatrixClientPegClassapps/web/src/MatrixClientPeg.ts

Calls

no outgoing calls

Tested by

no test coverage detected