package server-reason-react
Module Belt.Set
The top level provides generic immutable set operations.
It also has three specialized inner modules Belt.Set.Int, Belt.Set.String and
Belt.Set.Dict: This module separates data from function which is more verbose but slightly more efficient
module Dict : sig ... endval isEmpty : ('a, 'b) t -> boolval forEachU : ('a, 'b) t -> ('a -> unit) -> unitval forEach : ('a, 'b) t -> ('a -> unit) -> unitval reduceU : ('a, 'b) t -> 'c -> ('c -> 'a -> 'c) -> 'cval reduce : ('a, 'b) t -> 'c -> ('c -> 'a -> 'c) -> 'cval everyU : ('a, 'b) t -> ('a -> bool) -> boolval every : ('a, 'b) t -> ('a -> bool) -> boolval someU : ('a, 'b) t -> ('a -> bool) -> boolval some : ('a, 'b) t -> ('a -> bool) -> boolval size : ('a, 'b) t -> intval toList : ('a, 'b) t -> 'a listval toArray : ('a, 'b) t -> 'a arrayval minimum : ('a, 'b) t -> 'a optionval minUndefined : ('a, 'b) t -> 'a optionval maximum : ('a, 'b) t -> 'a optionval maxUndefined : ('a, 'b) t -> 'a optionval get : ('a, 'b) t -> 'a -> 'a optionval getUndefined : ('a, 'b) t -> 'a -> 'a optionval getExn : ('a, 'b) t -> 'a -> 'aval has : ('a, 'b) t -> 'a -> boolval fromSortedArrayUnsafe :
'value Dict.N.A.t ->
id:('value, 'identity) id ->
('value, 'a) tval checkInvariantInternal : ('a, 'b) t -> unit