Documentation

Init.Data.Option.BasicAux

@[inline]
def Option.get! {α : Type u} [Inhabited α] :
Option αα
Equations
  • x.get! = match x with | some x => x | none => panicWithPosWithDecl "Init.Data.Option.BasicAux" "Option.get!" 16 14 "value is none"
Instances For