ThreeValuedBit

extension ThreeValuedBit
  • Returns false if b is true, true if b is false, or nil otherwise.

    Declaration

    Swift

    public prefix static func ! (b: `Self`) -> Optional<Wrapped>
  • Returns false if either of the operands is false, true if both operands are true, nil in all other cases.

    Declaration

    Swift

    public static func && (l: `Self`, r: `Self`) -> Optional<Wrapped>
  • Returns false if both operands are false, true if either of the operands is true, nil in all other cases.

    Declaration

    Swift

    public static func || (l: `Self`, r: `Self`) -> Optional<Wrapped>