isGeneral method

bool isGeneral()

Checks if this truck restriction warning is general.

A general warning has no specific restriction conditions set. Please note that time rule still might be set for a general warning, but it is not considered as a specific restriction condition. This method only checks that no specific conditions are set for the warning.

Returns bool. true if all restriction fields are null or empty, false otherwise.

Implementation

bool isGeneral() => $prototype.isGeneral(this);