Skip to main content
Version: Latest (0.60.x)

[F] interpolatePath

function interpolatePath(pathTemplate, predefinedVariables): string

Interpolate a path template

Parameters

ParameterTypeDescription
pathTemplatestringPath template
predefinedVariablesRecord<string, undefined | string>Variables that can be used in the path template.

Returns

string