Edit this page

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

This feature is experimental. It may be changed or removed in a future version.

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.