int

val int: Int?

Returns the value at the previously specified key in the document as an Int if possible, otherwise the return value will be null.