asInt

open fun asInt(): Int

Gets this element as an int

Return

int

Throws

if type is different.