[top][index]
search for:

all -- whether all elements satisfy a condition

all(v,f) -- whether each element x of a list or hash table v has f(x) true.

Returns the value true if all elements v#i of the list v yield the value true when the function f is applied, otherwise returns false. For hash tables, the function is applied to all its key/value pairs (k,v), just as with any.

See also:

  • scan -- apply a function to each element
  • apply -- apply a function to each element
  • select -- select elements from a list or hash table
  • any -- whether an element satisfies a condition
  • member -- test membership in a list
  • Ways to use all :

  • all(BasicList,Function)
  • all(HashTable,Function)

  • [top][index]
    search for: