Companion

Functions

Link copied to clipboard
@JvmName(name = "create")
operator fun <T> invoke(vararg validations: Validation<T?>, initialValue: T? = null, builder: () -> Schema<T>): NullableSchema<T>
@JvmName(name = "create")
operator fun <T> invoke(validations: Iterable<Validation<T?>> = emptyList(), initialValue: T? = null, builder: () -> Schema<T>): NullableSchema<T>

Function that builds a schema representing nullable values of type T.