0.0.22 • Published 6 years ago

@plexis/starts-with v0.0.22

Weekly downloads
10
License
MIT
Repository
github
Last release
6 years ago

@plexis/startsWith

Checks whether the input text starts with the given pattern.

npm i @plexis/starts-with

Usage

import startsWith from '@plexis/starts-with';

startsWith('This is me', 'This is'); // returns true
startsWith('This is me', 'This is', 1); // returns false
startsWith(/[@!#$]/, '@plexis is great!'); // returns true
startsWith(/[A-Z]/, '@plexis is great!'); // returns false
0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago