query
On this page

warnIfNot

lib.trivial.warnIfNot

Docs pulled from | This Revision | about 1 hour ago


Like warnIf, but negated (warn if the first argument is false).

Inputs

cond

1. Function argument

msg

2. Function argument

val

Value to return as-is.

Type

bool -> string -> a -> a

Noogle also knows

Aliases