Skip to main content
Version: 3.28.0

Device.lookup()

Look up the data associated with a particular User-Agent string.

Syntax

lookup(userAgent)

Return value

If there is data associated with the User-Agent, a Device instance is returned. Otherwise, null is returned.