Device.hasClasses

Check if @device matches all of the given classes

class Device
bool
hasClasses
(
string classes
)

Parameters

classes string

a "/" separate list of device classes to match, only match if all classes are matched

Return: %TRUE if @device matches.

Meta