Module Js_mapperRt

module Js_mapperRt: sig .. end
serach polyvar assocArray Search hashvariant of polyvar to get the returned string, assume that polvar exists in the array

val binarySearch : int -> int -> (int * 'a) array -> 'a
val revSearch : int -> (int * string) array -> string -> int option
revSearch len assocArray value Based on the value to find the associated key, i.e, polyvar
val revSearchAssert : int -> (int * string) array -> string -> int
val toInt : int -> int array -> int
toInt enum array Based on the value of enum, return its mapped int
val fromInt : int -> int array -> int -> int option
fromInt len array int return the mapped enum
val fromIntAssert : int -> int array -> int -> int
length is not relevant any more