Posted on c/ElrondDevelopers 1 dmn8392211779c/ElrondDevelopers 3 years ago Does anybody have a "clean code" way of getting an option value and requiring it to be existent? Comment 1 Comments And167100369 3years ago option.unwrap_or_else(|| sc_panic("should be some"))
option.unwrap_or_else(|| sc_panic("should be some"))