All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.es.traversal.some.mjs Maven / Gradle / Ivy

The newest version!
import { isNotUndefined } from 'ramda-adjunct';
import find from "./find.mjs"; // tests whether at least one element passes the predicate
const some = (predicate, element) => {
  return isNotUndefined(find(predicate, element));
};
export default some;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy