Skip to content

BooleanExtensions.NotBeFalse Method ​

Definition ​

Asserts that the nullable boolean value is not false.

c#
public static AssertionsChain<ObjectAssertions<bool?>, bool?> NotBeFalse(this ObjectAssertions<bool?> assertions);

View source

Parameters ​

NameTypeDescription
assertionsObjectAssertions<Boolean?>The assertions object.

Returns ​

AssertionsChain<ObjectAssertions<Boolean?>, Boolean?>

An AssertionsChain<TAssertions, T> for chaining further assertions.