The device model to narrow.
The expected device type literal.
Whether the device matches the given type.
Type guard that narrows a DeviceModelAny to a specific DeviceModel variant.
Overloads ensure the predicate type is always assignable to the union member.
The device model to narrow.
The expected device type literal.
Whether the device matches the given type.
Type guard that narrows a DeviceModelAny to a specific DeviceModel variant.
Overloads ensure the predicate type is always assignable to the union member.
The device model to narrow.
The expected device type literal.
Whether the device matches the given type.
Type guard that narrows a
DeviceModelAnyto a specificDeviceModelvariant. Overloads ensure the predicate type is always assignable to the union member.