Sha256: fd1a8a2082eec39c04b6316d4d8dec234c19de5d502318a3592daefc2b5f9271

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 Bytes

Contents

.TH Among
.PP
Among a set of values
.SH Signature
.PP
.RS
.nf
among(val: Alpha|AttrName, vals: Set<Alpha>) \-> Predicate
.fi
.RE
.SH Examples
.PP
.RS
.nf
among(:status, [10, 30])
.fi
.RE
.SH Description
.PP
This predicates checks whether \fB\fCval\fR belongs to the set of values \fB\fCvals\fR\&.
.SH Implementation notes
.PP
The set \fB\fCvals\fR 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

3 entries across 3 versions & 1 rubygems

Version Path
alf-shell-0.16.3 doc/man/among.man
alf-shell-0.16.2 doc/man/among.man
alf-shell-0.16.1 doc/man/among.man