Skip to content

jacobbubu/between-ts

Repository files navigation

@jacobbubu/between-ts

Build Status Coverage Status npm

Rewritten between in TypeScript

Intro.

This repo. is a TypeScript rewrite of between and it's guarded version.

Usage

npm i @jacoebubu/between-ts
npm run example:ex1
import { between } from '@jacoebubu/between-ts'

console.log(between('A', 'B'))
// AV

Please read the code in test folder for the detail usage.