Edit this page

up.Params up.Params.prototype.getFirst(name)
Class method

This feature is experimental. Please share your experiences so we know what to keep or change.

Returns the first param value with the given name.

Returns undefined if no param value with that name is set.


Parameters

name string

Return value

any

The value of the param with the given name.