has_flag


Description:

[ Version ( since = "0.9.3" ) ]
public bool has_flag (DeviceFlags flag)

Finds if the device has a specific device flag.

Parameters:

this

A Device

flag

the DeviceFlags

Returns:

true if the flag is set