Summary
Asserts that a condition is true. If the condition is false, a warning is issued.
Syntax
public static void Unless(Func<bool> condition)
Parameters
Name | Type | Description |
---|---|---|
condition | Func |
A lambda that returns a Boolean |
Return Value
Type | Description |
---|---|
void |