ArkScript-lang/std

Implement forAll, some/any on lists

Closed this issue · 2 comments

Should match a given condition (function)

  • forAll, all elements must match
  • some/any (I'm not sure how to name it), at least one must match

What should this function return?

Just a boolean, to tell if the condition was matched