asLong

fun asLong(): Long

Casts this AttributeValue as a Long and retrieves its kotlin.Long value. Throws an exception if the AttributeValue is not a Long.