asBooleanValueOrNull

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