@plexis/includes

0.0.22 • Public • Published

@plexis/includes

Checks if the search is part of the input string in the given position

Installation npm i @plexis/includes

Usage

import includes from '@plexis/includes';

includes(); // => false
includes(''); // => false
includes('', ''); // => true
includes('Foo', 'Foo'); // => true
includes('Foo', 'Foo'); // => true
includes('Foo', 'Foo', 2); // => false
includes('Foo', 'oo'); // => true
includes('Foo', 'Oo'); // => false

Aliases

import includes from '@plexis/includes';
import {includes, has} from 'plexis';

Package Sidebar

Install

npm i @plexis/includes

Weekly Downloads

0

Version

0.0.22

License

MIT

Unpacked Size

4.37 kB

Total Files

6

Last publish

Collaborators

  • vorillaz