checkBare

Checks a condition

  1. void checkBare(bool cond, string message)
    pure @safe
    void
    checkBare
    (
    bool cond
    ,
    string message
    )
  2. void checkBare(bool cond, string message)

Parameters

cond bool

The condition

message string

The exception message

Throws

Exception if cond is false

Meta