asBooleanValueOrNull

Casts this Field as a BooleanValue and retrieves its kotlin.Boolean value. Returns null if the Field is not a BooleanValue.