Permalink
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 574 Bytes

{% raw %}

Returns the value of the requested argument either via a URL argument or through the input element of a form. If the requested parameter is not provided this function will return None.

Arguments
name
The name of the argument or the form's input name.
cast
Type of the argument that the param should be casted to. If you want to cast to a bool it will return True to any of these values: true, yes or 1.

{% endraw %}