package traits

  1. Overview
  2. Docs

PartialOrd implementation signature

type t

Type being compared

type rhs

Type being compared with

val partial_cmp : t -> rhs -> Ordering.t option

Compares values of t and rhs and returns an ordering if one exists

OCaml

Innovation. Community. Security.