package graphql_ppx

  1. Overview
  2. Docs
exception Option_unwrap_error of string
val map : ('a -> 'b) -> 'a option -> 'b option
val flat_map : ('a -> 'b option) -> 'a option -> 'b option
val unsafe_unwrap : reason:string -> 'a option -> 'a
val get_or_else : 'a -> 'a option -> 'a
val is_some : 'a option -> bool
val is_none : 'a option -> bool
OCaml

Innovation. Community. Security.