Helper methods for dealing with header and query-parameter values.
Casts finite numbers and boolean value
s to a string. If value
is an
array, and inArray
is false, do the same for each array item. Such arrays
are not allowed to contain other arrays.
Returns the cast value, or throws a TypeError
instance if the value
is
of an unexpected type.
Casts finite numbers and boolean value
s to a string.
Returns the cast value, or throws a TypeError
instance if the value
is
of an unexpected type.
Validation Helpers