Feature: `head / popFirst`
vorillaz opened this issue · comments
Theodore Vorillas commented
Extracts the first length characters from the input text.
head(); // => ''
head('Hello'); // => 'H'
head('Hello', 2); // => 'He'
head('Hello', 100); // => 'Hello'
Aliases
import head from '@plexis/head';
import {head, first, popFirst} from 'plexis';
Abdelrahman Ashraf commented
Can I take this one?