@plexis/to-pred
v0.0.22
Published
Converts a string to its equivalent predecessor.
Downloads
21
Maintainers
Readme
@plexis/toPred
Converts a string to its equivalent predecessor.
Installation
npm i @plexis/to-pred
Usage
import toPred from '@plexis/to-pred';
toPred('b'); // returns 'a'
toPred('B'); // returns 'A'
toPred('BCD'); // returns 'ABC'
Aliases
import {toPred} from 'plexis';
import {toPredecessor} from 'plexis';