getNumber

open fun getNumber(): Number

Returns Number stored in attributes if getType of attributes is NUMBER, otherwise returns null.