Skip to content

PropertyCondition.HasValue method

Gets whether a value is one, i.e. it is not null, an empty string, an empty list or false.

public static bool HasValue(object? value)
parameter description
value The value.

See Also