Module Person.AgeRange

type t = {
max : int;

The age range's upper bound, if any. Possible values include, but are not limited to, the following:

  • "17" - for age 17
  • "20" - for age 20
min : int;

The age range's lower bound, if any. Possible values include, but are not limited to, the following:

  • "21" - for age 21
  • "18" - for age 18
}
val max : (t, int) GapiLens.t
val min : (t, int) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t