Skip to content

FilePathComponent.valueFromString method

FilePathComponent › valueFromString

Converts a string to a file path.

Signature:

valueFromString($string: string): string

Parameters:

ParameterTypeDescription
$stringstring

Returns: string — The file path.