hasKey

fun hasKey(key: String): Boolean
fun hasKey(key: Long): Boolean

Returns whether a map has a value for a given key

Return

whether the key exists in the map.

Parameters

key

the key to check for.

Throws

if the data item isn't a CborMap.