Skip to content

lastSegment

function lastSegment(key): string;

Defined in: src/keys.ts:116

Extract the trailing segment from a key.

Parameter Type
key string

string