The to template converts a value from one type to another. The source type is deduced and the target type must be specified, for example the expression to!int(42.0) converts the number 42 from double to int. The conversion is "safe", i.e., it checks for overflow; to!int(4.2e10) would throw the ConvOverflowException exception. Overflow checks are only inserted when necessary, e.g., to!double(42) does not do any checking because any int fits in a double.
Undocumented in source. Be warned that the author may not have intended to support it.
Converts a TickDuration to the given units as either an integral value or a floating point value.
The URL to redirect to.
Converts a basic type, a tuple or an array to the D type with type checking. Tuples can get converted to an array too.
Converts the JSON value to the corresponding D type - types are converted as necessary.
Describes the range in the *original* document to modify
Converts a stringish range to an integral value.
Converts the specified representation into its duration value. For decimal fractions, digits representing less than one millisecond are disregarded.