Functions

The following functions are available globally.

  • Curried version of the OptionSetView constructor.

    For example: bitmask |> asOptionSet([.First, .Second, .Third])

    Declaration

    Swift

    public func asOptionSet <T: IBitmaskRepresentable where T: Hashable>
        (possibleOptions:Set<T>) (bitmask:Bitmask<T>) -> OptionSetView<T>