Skip to main content
Module

x/rimbu/typical/mod.ts>Num.NotEqual

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Num.NotEqual
import { type Num } from "https://deno.land/x/rimbu@0.12.3/typical/mod.ts";
const { NotEqual } = Num;

Returns true if the given numbers are not equal.

Examples

Example 1

NotEqual<0, 0> => false
NotEqual<8, 9> => true

Type Parameters

N1 extends number
N2 extends number
definition: N1 extends N2 ? N1 extends N2 ? false : true : true