Class BoolValue
- Namespace
- CedarDotNet.Values
- Assembly
- CedarDotNet.dll
A Cedar value that represents a boolean.
public sealed record BoolValue : Value, IEquatable<Value>, IEquatable<BoolValue>
- Inheritance
-
BoolValue
- Implements
- Inherited Members
Properties
False
public static BoolValue False { get; }
Property Value
True
public static BoolValue True { get; }
Property Value
Value
The value.
public bool Value { get; }
Property Value
Methods
For(bool)
Returns the BoolValue that represents the given boolean value.
public static BoolValue For(bool value)
Parameters
value
boolThe value.
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.