Skip to main content
Module

x/fun/eq.ts>number

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
variable number
import { number } from "https://deno.land/x/fun@v2.0.0-alpha.6/eq.ts";

A Eq that compares number using strict equality.

Examples

Example 1

import { number } from "./eq.ts";

const result1 = number.equals(1)(2); // false
const result2 = number.equals(1)(1); // true

type

Eq<number>