isSome

fun <A> A?.isSome():Boolean

Checks if the values is right value or not.

Example usage:

val myVal: Int = 1
if(myVal.isSome()) {
  // code
}

Receiver the value for identification.

Return True if the value is some