Function: readEditToken()
function readEditToken(href: string, param?: string): string | undefined;
Defined in: gate.ts:78
Extract the raw edit token from a URL, if any. Pure.
Parameters
| Parameter | Type | Default value |
|---|---|---|
href | string | undefined |
param | string | DEFAULT_EDIT_PARAM |
Returns
string | undefined