Skip to main content
Module

x/fun/eq.ts>string

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 string
import { string } from "https://deno.land/x/fun@v2.0.0-alpha.6/eq.ts";

A Eq that compares strings using strict equality.

Examples

Example 1

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

const result1 = string.equals("World")("Hello"); // false
const result2 = string.equals("")(""); // true

type

Eq<string>