[Home] Module Microsoft.FSharp.MLLib.Enum


Simple operations to convert between .NET enuemration types and integers

Values

ValueDescription
val combine : 'a list -> 'a when 'a :> Enum
Combine enum values using 'logical or'. The relevant enumeration type is inferred from context.
val of_int : int -> #Enum
Convert an integer to an enumeration value. The result type is inferred from context.
val test : 'a -> 'a -> bool when 'a :> Enum
Test if an enumeration value has a particular flag set, using 'logical and'. The relevant enumeration type is inferred from context.
val to_int : #Enum -> int
Convert an enumeration value to an integer. The argument type is inferred from context.

See Also

Microsoft.FSharp.MLLib


Documentation for assembly mllib, version 1.1.10.1, generated using F# version 1.1.10.1