package tezos-protocol-019-PtParisB

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = int
val zero : int
val compare : int -> int -> int
val equal : int -> int -> bool
type Tezos_protocol_environment_019_PtParisB.Error_monad.error +=
  1. | Invalid_page_index of {
    1. given : int;
    2. min : int;
    3. max : int;
    }
val check_is_in_range : number_of_pages:int -> int -> unit Tezos_protocol_environment_019_PtParisB.Error_monad.tzresult

is_in_range ~number_of_pages page_id returns true if and only if the provided page_id is within the bounds of allowed pages.

OCaml

Innovation. Community. Security.