PathParam.getAs

Gets the value of this path parameter, converted to the specified template type. Note that this may throw a std.conv.ConvException if you have not specified a type for validation when parsing.

struct PathParam
const
T
getAs
(
T
)
()

Return Value

Type: T

The value, converted to the specified template type.

Meta