Header menu logo UnionConfig

ConfigValueType Type

The runtime type of a configuration variable's value

Union cases

Union case Description

BoolType

Full Usage: BoolType

Boolean value (accepts true/false/1/0)

CustomType(typeName, validate)

Full Usage: CustomType(typeName, validate)

Parameters:
    typeName : string
    validate : string -> string option

Custom type with validation function (typeName, validator that returns error message on failure)

typeName : string
validate : string -> string option

FloatType

Full Usage: FloatType

Float/double value

IntType

Full Usage: IntType

Integer value

StringType

Full Usage: StringType

String value (default)

Instance members

Instance member Description

this.IsBoolType

Full Usage: this.IsBoolType

Returns: bool
Returns: bool

this.IsCustomType

Full Usage: this.IsCustomType

Returns: bool
Returns: bool

this.IsFloatType

Full Usage: this.IsFloatType

Returns: bool
Returns: bool

this.IsIntType

Full Usage: this.IsIntType

Returns: bool
Returns: bool

this.IsStringType

Full Usage: this.IsStringType

Returns: bool
Returns: bool

Type something to start searching.