options
may or may not hold something, staticallly enforced to check for emptiness
Do var username: Option[String] = None
isntead of var username = null
Basically:
Map returns Option
Commonly use map and other such functions
Last updated
may or may not hold something, staticallly enforced to check for emptiness
Do var username: Option[String] = None
isntead of var username = null
Basically:
Map returns Option
Commonly use map and other such functions
Last updated