lastSegment
function lastSegment(key): string;Defined in: src/keys.ts:141
Extract the trailing segment (endpoint id / message id / …) from a key.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
key |
string |
Returns
Section titled “Returns”string