Consts

Overview

Helper static class that provides access to a common constant values.

Location

  • Reference: Sugar
  • Namespace: Sugar

 

E

Represents the natural logarithmic base, specified by the constant e.

 

const E: Double;

 

const Double E

 

static let E: Double

 

static final Double E

 

Dim E As Double

FalseString

Gets the string representation of the false.

 

class property FalseString: not nullable String read;

 

class String! FalseString { get; }

 

static var FalseString: String { get{} }

 

class String FalseString { __get; }

 

Shared ReadOnly Property FalseString() As String

IsInfinity

Returns value that indicates whether specified parameter is infinity.

 

class method IsInfinity(Value: Double): Boolean

 

static Boolean IsInfinity(Double Value)

 

static func IsInfinity(_ Value: Double) -> Boolean

 

static Boolean IsInfinity(Double Value)

 

Shared Function IsInfinity(Value As Double) As Boolean

Parameters:

  • Value: The value to be checked.

IsNaN

Returns value that indicates whether specified parameter is not a number.

 

class method IsNaN(Value: Double): Boolean

 

static Boolean IsNaN(Double Value)

 

static func IsNaN(_ Value: Double) -> Boolean

 

static Boolean IsNaN(Double Value)

 

Shared Function IsNaN(Value As Double) As Boolean

Parameters:

  • Value: The value to be checked.

IsNegativeInfinity

Returns value that indicates whether specified parameter is negative infinity.

 

class method IsNegativeInfinity(Value: Double): Boolean

 

static Boolean IsNegativeInfinity(Double Value)

 

static func IsNegativeInfinity(_ Value: Double) -> Boolean

 

static Boolean IsNegativeInfinity(Double Value)

 

Shared Function IsNegativeInfinity(Value As Double) As Boolean

Parameters:

  • Value: The value to be checked.

IsPositiveInfinity

Returns value that indicates whether specified parameter is positive infinity.

 

class method IsPositiveInfinity(Value: Double): Boolean

 

static Boolean IsPositiveInfinity(Double Value)

 

static func IsPositiveInfinity(_ Value: Double) -> Boolean

 

static Boolean IsPositiveInfinity(Double Value)

 

Shared Function IsPositiveInfinity(Value As Double) As Boolean

Parameters:

  • Value: The value to be checked.

MaxByte

Gets the largest possible value of a Byte.

 

class property MaxByte: Byte read;

 

class Byte MaxByte { get; }

 

static var MaxByte: Byte { get{} }

 

class Byte MaxByte { __get; }

 

Shared ReadOnly Property MaxByte() As Byte

MaxChar

Gets the largest possible value of a Char.

 

class property MaxChar: Int32 read;

 

class Int32 MaxChar { get; }

 

static var MaxChar: Int32 { get{} }

 

class Int32 MaxChar { __get; }

 

Shared ReadOnly Property MaxChar() As Int32

MaxDouble

Gets the largest possible value of a Double.

 

class property MaxDouble: Double read;

 

class Double MaxDouble { get; }

 

static var MaxDouble: Double { get{} }

 

class Double MaxDouble { __get; }

 

Shared ReadOnly Property MaxDouble() As Double

MaxInt64

Gets the largest possible value of a Int64.

 

class property MaxInt64: Int64 read;

 

class Int64 MaxInt64 { get; }

 

static var MaxInt64: Int64 { get{} }

 

class Int64 MaxInt64 { __get; }

 

Shared ReadOnly Property MaxInt64() As Int64

MaxInteger

Gets the largest possible value of a Int32.

 

class property MaxInteger: Int32 read;

 

class Int32 MaxInteger { get; }

 

static var MaxInteger: Int32 { get{} }

 

class Int32 MaxInteger { __get; }

 

Shared ReadOnly Property MaxInteger() As Int32

MinByte

Gets the smallest possible value of a Byte.

 

class property MinByte: Byte read;

 

class Byte MinByte { get; }

 

static var MinByte: Byte { get{} }

 

class Byte MinByte { __get; }

 

Shared ReadOnly Property MinByte() As Byte

MinChar

Gets the smallest possible value of a Char.

 

class property MinChar: Int32 read;

 

class Int32 MinChar { get; }

 

static var MinChar: Int32 { get{} }

 

class Int32 MinChar { __get; }

 

Shared ReadOnly Property MinChar() As Int32

MinDouble

Gets the smallest possible value of a Double.

 

class property MinDouble: Double read;

 

class Double MinDouble { get; }

 

static var MinDouble: Double { get{} }

 

class Double MinDouble { __get; }

 

Shared ReadOnly Property MinDouble() As Double

MinInt64

Gets the smallest possible value of a Int64.

 

class property MinInt64: Int64 read;

 

class Int64 MinInt64 { get; }

 

static var MinInt64: Int64 { get{} }

 

class Int64 MinInt64 { __get; }

 

Shared ReadOnly Property MinInt64() As Int64

MinInteger

Gets the smallest possible value of a Int32.

 

class property MinInteger: Int32 read;

 

class Int32 MinInteger { get; }

 

static var MinInteger: Int32 { get{} }

 

class Int32 MinInteger { __get; }

 

Shared ReadOnly Property MinInteger() As Int32

NaN

Gets a value which represents not a number.

 

class property NaN: Double read;

 

class Double NaN { get; }

 

static var NaN: Double { get{} }

 

class Double NaN { __get; }

 

Shared ReadOnly Property NaN() As Double

NegativeInfinity

Gets a value which represents negative infinity.

 

class property NegativeInfinity: Double read;

 

class Double NegativeInfinity { get; }

 

static var NegativeInfinity: Double { get{} }

 

class Double NegativeInfinity { __get; }

 

Shared ReadOnly Property NegativeInfinity() As Double

PI

Represents the ratio of the circumference of a circle to its diameter, specified by the constant π.

 

const PI: Double;

 

const Double PI

 

static let PI: Double

 

static final Double PI

 

Dim PI As Double

PositiveInfinity

Gets a value which represents positive infinity.

 

class property PositiveInfinity: Double read;

 

class Double PositiveInfinity { get; }

 

static var PositiveInfinity: Double { get{} }

 

class Double PositiveInfinity { __get; }

 

Shared ReadOnly Property PositiveInfinity() As Double

TrueString

Gets the string representation of the true.

 

class property TrueString: not nullable String read;

 

class String! TrueString { get; }

 

static var TrueString: String { get{} }

 

class String TrueString { __get; }

 

Shared ReadOnly Property TrueString() As String

 

E

Represents the natural logarithmic base, specified by the constant e.

 

const E: Double;

 

const Double E

 

static let E: Double

 

static final Double E

 

Dim E As Double

PI

Represents the ratio of the circumference of a circle to its diameter, specified by the constant π.

 

const PI: Double;

 

const Double PI

 

static let PI: Double

 

static final Double PI

 

Dim PI As Double

 

FalseString

Gets the string representation of the false.

 

class property FalseString: not nullable String read;

 

class String! FalseString { get; }

 

static var FalseString: String { get{} }

 

class String FalseString { __get; }

 

Shared ReadOnly Property FalseString() As String

MaxByte

Gets the largest possible value of a Byte.

 

class property MaxByte: Byte read;

 

class Byte MaxByte { get; }

 

static var MaxByte: Byte { get{} }

 

class Byte MaxByte { __get; }

 

Shared ReadOnly Property MaxByte() As Byte

MaxChar

Gets the largest possible value of a Char.

 

class property MaxChar: Int32 read;

 

class Int32 MaxChar { get; }

 

static var MaxChar: Int32 { get{} }

 

class Int32 MaxChar { __get; }

 

Shared ReadOnly Property MaxChar() As Int32

MaxDouble

Gets the largest possible value of a Double.

 

class property MaxDouble: Double read;

 

class Double MaxDouble { get; }

 

static var MaxDouble: Double { get{} }

 

class Double MaxDouble { __get; }

 

Shared ReadOnly Property MaxDouble() As Double

MaxInt64

Gets the largest possible value of a Int64.

 

class property MaxInt64: Int64 read;

 

class Int64 MaxInt64 { get; }

 

static var MaxInt64: Int64 { get{} }

 

class Int64 MaxInt64 { __get; }

 

Shared ReadOnly Property MaxInt64() As Int64

MaxInteger

Gets the largest possible value of a Int32.

 

class property MaxInteger: Int32 read;

 

class Int32 MaxInteger { get; }

 

static var MaxInteger: Int32 { get{} }

 

class Int32 MaxInteger { __get; }

 

Shared ReadOnly Property MaxInteger() As Int32

MinByte

Gets the smallest possible value of a Byte.

 

class property MinByte: Byte read;

 

class Byte MinByte { get; }

 

static var MinByte: Byte { get{} }

 

class Byte MinByte { __get; }

 

Shared ReadOnly Property MinByte() As Byte

MinChar

Gets the smallest possible value of a Char.

 

class property MinChar: Int32 read;

 

class Int32 MinChar { get; }

 

static var MinChar: Int32 { get{} }

 

class Int32 MinChar { __get; }

 

Shared ReadOnly Property MinChar() As Int32

MinDouble

Gets the smallest possible value of a Double.

 

class property MinDouble: Double read;

 

class Double MinDouble { get; }

 

static var MinDouble: Double { get{} }

 

class Double MinDouble { __get; }

 

Shared ReadOnly Property MinDouble() As Double

MinInt64

Gets the smallest possible value of a Int64.

 

class property MinInt64: Int64 read;

 

class Int64 MinInt64 { get; }

 

static var MinInt64: Int64 { get{} }

 

class Int64 MinInt64 { __get; }

 

Shared ReadOnly Property MinInt64() As Int64

MinInteger

Gets the smallest possible value of a Int32.

 

class property MinInteger: Int32 read;

 

class Int32 MinInteger { get; }

 

static var MinInteger: Int32 { get{} }

 

class Int32 MinInteger { __get; }

 

Shared ReadOnly Property MinInteger() As Int32

NaN

Gets a value which represents not a number.

 

class property NaN: Double read;

 

class Double NaN { get; }

 

static var NaN: Double { get{} }

 

class Double NaN { __get; }

 

Shared ReadOnly Property NaN() As Double

NegativeInfinity

Gets a value which represents negative infinity.

 

class property NegativeInfinity: Double read;

 

class Double NegativeInfinity { get; }

 

static var NegativeInfinity: Double { get{} }

 

class Double NegativeInfinity { __get; }

 

Shared ReadOnly Property NegativeInfinity() As Double

PositiveInfinity

Gets a value which represents positive infinity.

 

class property PositiveInfinity: Double read;

 

class Double PositiveInfinity { get; }

 

static var PositiveInfinity: Double { get{} }

 

class Double PositiveInfinity { __get; }

 

Shared ReadOnly Property PositiveInfinity() As Double

TrueString

Gets the string representation of the true.

 

class property TrueString: not nullable String read;

 

class String! TrueString { get; }

 

static var TrueString: String { get{} }

 

class String TrueString { __get; }

 

Shared ReadOnly Property TrueString() As String

 

IsInfinity

Returns value that indicates whether specified parameter is infinity.

 

class method IsInfinity(Value: Double): Boolean

 

static Boolean IsInfinity(Double Value)

 

static func IsInfinity(_ Value: Double) -> Boolean

 

static Boolean IsInfinity(Double Value)

 

Shared Function IsInfinity(Value As Double) As Boolean

Parameters:

  • Value: The value to be checked.

IsNaN

Returns value that indicates whether specified parameter is not a number.

 

class method IsNaN(Value: Double): Boolean

 

static Boolean IsNaN(Double Value)

 

static func IsNaN(_ Value: Double) -> Boolean

 

static Boolean IsNaN(Double Value)

 

Shared Function IsNaN(Value As Double) As Boolean

Parameters:

  • Value: The value to be checked.

IsNegativeInfinity

Returns value that indicates whether specified parameter is negative infinity.

 

class method IsNegativeInfinity(Value: Double): Boolean

 

static Boolean IsNegativeInfinity(Double Value)

 

static func IsNegativeInfinity(_ Value: Double) -> Boolean

 

static Boolean IsNegativeInfinity(Double Value)

 

Shared Function IsNegativeInfinity(Value As Double) As Boolean

Parameters:

  • Value: The value to be checked.

IsPositiveInfinity

Returns value that indicates whether specified parameter is positive infinity.

 

class method IsPositiveInfinity(Value: Double): Boolean

 

static Boolean IsPositiveInfinity(Double Value)

 

static func IsPositiveInfinity(_ Value: Double) -> Boolean

 

static Boolean IsPositiveInfinity(Double Value)

 

Shared Function IsPositiveInfinity(Value As Double) As Boolean

Parameters:

  • Value: The value to be checked.