Rewritten between in TypeScript
This repo. is a TypeScript rewrite of between and it's guarded version.
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.