asPathOrNull

Casts this TaskParameterValue as a Path and retrieves its kotlin.String value. Returns null if the TaskParameterValue is not a Path.