Skip to content

jitx/preconditions

Package name: jitx/preconditions

Summary

Definitions

General Definitions

min-length!

public defn min-length! (n0:Int)

non-empty!

public defn non-empty! (description:String, t:Tuple)

in-range-radii!

public defn in-range-radii! (l:Int, w:Double, h:Double)

enough-elements-polygon-with-arcs!

public defn enough-elements-polygon-with-arcs! ()

in-range-angle!

public defn in-range-angle! (description:String, v:Double)

smaller-than!

public defn smaller-than! (name:String, value:Double)

enough-elements-polyline!

public defn enough-elements-polyline! ()

and!

public defn and!<T> (a:(String, T) -> False, b:(String, T) -> False)

and!

public defn and! (a:(String, Double) -> False, b:(String, Double) -> False)

in-range!

public defn in-range! (m:Double, M:Double)

non-negative!

public defn non-negative! (description:String, v:Int)

non-negative!

public defn non-negative! (description:String, v:Double)

non-negative!

public defn non-negative! (description:String, v:False)

min-elements!

public defn min-elements! (n0:Int)