package sihl-type

  1. Overview
  2. Docs
val iter : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'a) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'b) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'c) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'd) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> 'e) -> 'e
val fold : t -> init:'a -> id: ('a -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'b) -> name: ('b -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'c) -> content_text: ('c -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'd) -> content_html: ('d -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'e) -> created_at: ('e -> ([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> 'f) -> 'f
val for_all : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> bool) -> bool
val exists : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> bool) -> bool
val to_list : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'a) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'a) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'a) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'a) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> 'a) -> 'a list
val map : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> string) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> string) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> string) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> string) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> Ptime.t) -> t
val set_all_mutable_fields : 'a -> unit
OCaml

Innovation. Community. Security.