Bool

extension Bool: Comparable
extension Bool: PCSVParsible
extension Bool: PDefaultInit
extension Bool: PStringParsible

Conform Bool to comparible.

This is required in order to use Bool’s inside of Penguin.

  • Comparis lhs to rhs.

    Returns true if lhs is false, and rhs is true, false otherwise. This definition was chosen in order to match the behavior of a UInt-equivalent representation, where false is represented as 0, and true as any other number.

    Declaration

    Swift

    public static func < (lhs: `Self`, rhs: `Self`) -> Bool
  • Undocumented

    Declaration

    Swift

    public init(parseOrThrow value: String) throws