test

v0.9.6arrow_drop_down
v0.9.6
STATUS
Passing
DOWNLOADS
2
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
4 KB
Determines whether a given string matches a given regular expression.
1 contributor
Install test as a package?
Copied
npm i @bit/justin-capalbo.ramda.test
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
test (
pattern:RegExp,
str:String
) : Boolean

Determines whether a given string matches a given regular expression.

Example
R.test(/^x/, 'xyz'); //=> true
     R.test(/^y/, 'xyz'); //=> false
Arguments
pattern: RegExp
str: String
Returns
Boolean

Help and resources