Sha256: 54cca7843066dc2f12c48a8f4938d7d2773e2bca275d8db0d978bbb0573d22ee

Contents?: true

Size: 472 Bytes

Versions: 3

Compression:

Stored size: 472 Bytes

Contents

.TH Min
.PP
Minimal value
.SH Signature
.PP
.RS
.nf
min(expr: AttrName|(Tuple->Numeric)) -> Aggregator
.fi
.RE
.SH Examples
.PP
.RS
.nf
min(:qty)
.fi
.RE
.PP
.RS
.nf
min{|t| t.qty * t.price }
.fi
.RE
.PP
.RS
.nf
min(->(t){ t.qty * t.price })
.fi
.RE
.SH Description
.PP
Returns the smallest of input values.
.SH Implementation notes
.PP
This aggregate function must only be used with comparable types. As of
current Alf version, it does not aggregate empty sets correctly.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alf-shell-0.16.4 doc/man/min.man
alf-shell-0.16.0 doc/man/min.man
alf-shell-0.15.0 doc/man/min.man