Press CTRL+C or CMD+C to copy the selected text and close this dialog.
Tweet
0 people like it. Like the snippet!
Safe get for the Option type
1: 2: 3: 4:
let getOrDefault ``default`` option = match option with | Some x -> x | None -> ``default``