package brr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

int32 object properties.

val find : t -> prop -> int32 option

find o p is find_map to_int32 o p. This is unsafe, only use if you know that if o defines p it is guaranteed to be a JavaScript number.

val get : t -> prop -> int32

get o p is to_int32 (get o p). This is unsafe, only use if you know o has p and it is guaranteed to be a JavaScript number.

val set : t -> prop -> int32 -> unit

set o p b is set o p (of_int32 b).

val set_if_some : t -> prop -> int32 option -> unit

set_if_some o p b is set_if_some o p (Option.map of_int32 b).

OCaml

Innovation. Community. Security.