Link Search Menu Expand Document

NonNegative overview

Added in v0.2.0


Table of contents


NonNegative (interface)

Signature

export interface NonNegative extends Newtype<{ readonly NonNegative: unique symbol }, number> {}

Added in v0.2.0

isNonNegative

Signature

export const isNonNegative = (n: number) => ...

Added in v0.2.0

prismNonNegative

Signature

export const prismNonNegative: Prism<number, NonNegative> = ...

Added in v0.2.0