Home > @uniformdev/redirect > getSourceVariables

getSourceVariables() function

Signature:

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

path

</td><td>

string

</td><td>

</td></tr> <tr><td>

source

</td><td>

string

</td><td>

</td></tr> <tr><td>

isVariable

</td><td>

(pathSegment: string, isLast: boolean) => boolean

</td><td>

(Optional)

</td></tr> </tbody></table> Returns:

{ [variable: string]: string; }