1 contributor
Like
Install includes as a package?
Copied
npm i @bit/justin-capalbo.ramda.includes
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
includes (
a:
Object
,list:
) : Array
Boolean
Returns true
if the specified value is equal, in R.equals
terms, to at least one element of the given list; false
otherwise.
Works also with strings.
Example
Arguments
a:
Object
The item to compare against.
list:
Array
The array to consider.
Returns
Boolean
`true` if an equivalent item is in the list, `false` otherwise.