[next][previous][up][top][index]
search for:

all(BasicList,Function) -- whether all elements satisfy a condition

Synopsis:

  • Function: all -- whether all elements satisfy a condition
  • Input:
  • an instance of class BasicList.
  • an instance of class Function.
  • Output:
  • an instance of class Boolean.
  • Code:

         -- ../../../Macaulay2/m2/lists.m2:41
         all(HashTable,Function) := all(BasicList,Function) := Boolean => (x,p) -> not any(x, i -> not p i)

    [next][previous][up][top][index]
    search for: