Null

data object Null : AtField<Nothing>

The field key is present with an explicit JSON null value.

Functions

Link copied to clipboard

Flattens a list-shaped AtField into a list: the wrapped list when AtField.Defined, otherwise an empty list.

Link copied to clipboard
fun <T> AtField<T>.valueOrNull(): T?

Flattens this AtField into a nullable: the wrapped value when AtField.Defined, otherwise null.