Sha256: beb47f4a68e0f639d15bff5108c5766683b93ddc04caeff1398650e13f977a05

Contents?: true

Size: 418 Bytes

Versions: 6

Compression:

Stored size: 418 Bytes

Contents

# Among

Among a set of values

## Signature

among(val: Alpha|AttrName, vals: Set<Alpha>) -> Predicate

## Examples
among(:status, [10, 30])

## Description

This predicates checks whether `val` belongs to the set of values `vals`.

## Implementation notes

The set `vals` may only contain pure values, attribute names are not
supported. Any enumerable of such values is supported in practice, e.g.
an Array literal.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alf-shell-0.16.4 doc/txt/among.txt
alf-shell-0.16.3 doc/txt/among.txt
alf-shell-0.16.2 doc/txt/among.txt
alf-shell-0.16.1 doc/txt/among.txt
alf-shell-0.16.0 doc/txt/among.txt
alf-shell-0.15.0 doc/txt/among.txt