@hexlet/pairs

1.1.1 • Public • Published

js-pairs

github action status

Install

npm install @hexlet/pairs

Usage example

import {
  cons, car, cdr, toString, isPair,
} from '@hexlet/pairs';

const pair = cons(3, 5);

isPair(pair); // true

car(pair); // 3
cdr(pair); // 5

toString(pair); // (3, 5)

For more information, see the Full Documentation

Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet (in Russian).

Readme

Keywords

none

Package Sidebar

Install

npm i @hexlet/pairs

Weekly Downloads

3

Version

1.1.1

License

ISC

Unpacked Size

7.75 kB

Total Files

11

Last publish

Collaborators

  • dzencot
  • grozwalker
  • mshkv
  • mokevnin
  • corsicanec82