tsentials/eq

Community

Compare values safely with type-safe Eq

Authorsenrecep
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves unreliable and inconsistent equality logic by giving you composable, type-safe, deterministic equality checks for TypeScript values.

Core Features & Use Cases

  • Primitive equality: Use built-in Eq instances for numbers, strings, booleans, and dates to compare values predictably.
  • Structural equality for objects: Use Eq.struct to compare plain objects field-by-field in a type-safe way.
  • Custom equality via projection: Use Eq.contramap to compare complex types by a derived key (such as an ID or name), and Eq.getArrayEq for element-wise array comparisons.

Quick Start

Use the tsentials/eq skill to build an Eq for your domain type by defining how each field should be compared, then compare two values to get a boolean result.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tsentials/eq
Download link: https://github.com/senrecep/tsentials/archive/main.zip#tsentials-eq

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.