check

Checks a condition

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

Parameters

cond bool

The condition

message string

The user defined exception message

Throws

Exception if cond is false

Meta