Table of Contents

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

Gets the BoolValue that represents false.

public static BoolValue False { get; }

Property Value

BoolValue

True

Gets the BoolValue that represents true.

public static BoolValue True { get; }

Property Value

BoolValue

Value

The value.

public bool Value { get; }

Property Value

bool

Methods

For(bool)

Returns the BoolValue that represents the given boolean value.

public static BoolValue For(bool value)

Parameters

value bool

The value.

Returns

BoolValue

The BoolValue that represents the given boolean value.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.