and

fun and(specs: Array<Spec<in T>>): AndSpec<T>(source)

Returns an AndSpec whose member specs are this spec's, followed by the given ones.

Since

0.9


open fun and(spec: Spec<in T>): AndSpec<T>(source)

Returns an AndSpec whose member specs are this spec's, followed by the given one.

Since

4.3


open fun and(spec: Closure): AndSpec<T>(source)

Returns an AndSpec whose member specs are this spec's, followed by the closure as a spec.

Since

0.9

See also