Skip to content

lastSegment

function lastSegment(key): string;

Defined in: src/keys.ts:141

Extract the trailing segment (endpoint id / message id / …) from a key.

Parameter Type
key string

string