package General

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
type t = String.t option
val some_if : bool -> String.t lazy_t -> t
val some_if' : bool -> String.t -> t
val is_some : t -> bool
val is_none : t -> bool
val value_def : t -> def:String.t -> String.t
val value : ?exc:exn -> t -> String.t
val or_failure : ('a, unit, string, string, string, t -> String.t) CamlinternalFormatBasics.format6 -> 'a
val map : t -> f:(String.t -> 'a) -> 'a option
val iter : t -> f:(String.t -> unit) -> unit
val filter : t -> f:(String.t -> bool) -> t
val filter_map : t -> f:(String.t -> 'a option) -> 'a option
val value_map : t -> def:'a -> f:(String.t -> 'a) -> 'a
OCaml

Innovation. Community. Security.