enforce

Enforces the truthiness of in_

If it evaluates to false, throws a NuException.

  1. void enforce(T in_, const(char)[] err)
  2. void enforce(T in_, NuException t)
    @nogc @trusted
    void
    enforce
    (
    T
    )

Meta