Unset a warning message. If a warning with the specified id is active, it is unset, the UI is updated, and true is returned. Otherwise, no warning is unset and false is returned.

Synopsis

Declared in <node/warnings.h>

[[requires_capability(0x7f2e144314f8)]]
bool
Unset(warning_type id);

Return Value

true if the warning was indeed unset (i.e. there is an active warning with this id), otherwise false.

Parameters

Name

Description

id [in]

Unique identifier of the warning.

Created with MrDocs