ditto / live.ditto / DittoDocumentPath / intValue

intValue

val intValue: Int

Returns the value at the previously specified key in the document as an Int. If the key was invalid the return value will be 0.