1 contributor
Like
Install contains as a package?
Copied
npm i @bit/tomlandau.updates-example.string.contains
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
contains (
str:
string
,searchStr:
) : string
boolean
determines whether string str
ref contains substring searchRef
.
Example
Arguments
str:
string
searchStr:
string
Returns
boolean
Test Summary
contains should return true as substring | Skipped |
contains should return false as substring | Skipped |