Ordering overview

Added in v2.0.0


Table of contents


instances

eqOrdering

Signature

export declare const eqOrdering: Eq<Ordering>

Added in v2.0.0

monoidOrdering

Signature

export declare const monoidOrdering: Monoid<Ordering>

Added in v2.4.0

semigroupOrdering

Use monoidOrdering instead

Signature

export declare const semigroupOrdering: Semigroup<Ordering>

Added in v2.0.0

model

Ordering (type alias)

Signature

export type Ordering = -1 | 0 | 1

Added in v2.0.0

utils

invert

Signature

export declare function invert(O: Ordering): Ordering

Added in v2.0.0

sign

Signature

export declare function sign(n: number): Ordering

Added in v2.0.0