Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@bemoje/arr-any
Advanced tools
Check whether a condition is true for any element of an array. The condition check is in the form of a callback.
Check whether a condition is true for any element of an array. The condition check is in the form of a callback.
npm install @bemoje/arr-any
npm install --save @bemoje/arr-any
npm install --save-dev @bemoje/arr-any
import arrAny from '@bemoje/arr-any'
const arr = ['hi', 'there']
arrAny(arr, (element) => {
return element === 'there'
})
//=> true
arrAny(arr, (element) => {
return element.length === 5
})
//=> true
arrAny(arr, (element) => {
return element.length > 5
})
//=> false
Uses Jest to test module functionality. Run tests to get coverage details.
npm run test
Check whether a condition is true for any element of an array. The condition check is in the form of a callback.
Type: Function
FAQs
Check whether a condition is true for any element of an array. The condition check is in the form of a callback.
The npm package @bemoje/arr-any receives a total of 1 weekly downloads. As such, @bemoje/arr-any popularity was classified as not popular.
We found that @bemoje/arr-any demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.