@plexis/tail
v0.0.22
Published
Extracts the last length characters from the input text
Downloads
1
Maintainers
Readme
head
Extracts the last length characters from the input text
npm i @plexis/tail
Usage
import tail from '@plexis/tail';
tail(); // => ''
tail('Hello'); // => 'o'
tail('Hello', 2); // => 'lo'
tail('Hello', 100); // => 'Hello'
Aliases
import {tail} from 'plexis';
import {rest} from 'plexis';
import {last} from 'plexis';
import {pop} from 'plexis';