Navigation :
Envision Tutorials
Envision Explanation
Envision How-To Guides
Lokad Platform
Envision Reference
- Glossary
- Platform overview
- List of icons
-
_
-
A-B-C
-- abs
-- actionrwd.dampen
-- actionrwd.demand
-- actionrwd.reward
-- actionrwd.segment
-- aggregators
-- all
-- and
-- any
-- areSame
-- argfirst
-- arglast
-- argmax
-- argmin
-- arground
-- argwhichever
-- as
-- assert
-- assertfail
-- assoc.quantity
-- at
-- auto
-- autodiff
-- avg
-- barchart
-- boolean
-- Built-in Tables
-- by
-- canonical
-- cdf
-- ceiling
-- changed
-- chart
-- comments
-- commonPrefix
-- complement
-- concat
-- connected
-- const
-- constant
-- consume
--
contains
-- containsAny
-- containsCount
-- cos
-- count
-- cross
-- crps
-- cuminv
-- cumsub
-- cumsum
-- currentDashUrl
-
D-E-F
-
G-H-I
-
J-K-L
-
M-N-O
-
P-Q-R
-
S-T-U
-
V-W-X
-
Y-Z
Envision Gallery
Envision Specifications
Envision Language
Legacy
areSame
areSame, function
def process areSame(value: any): boolean
Returns true when all values in value are equal. For an empty group, it returns true.
value: the values to compare within each group.
Examples
table T = with
[| as A, as B |]
[| 1, "a" |]
[| 1, "a" |]
[| 2, "b" |]
[| 3, "b" |]
[| 4, "c" |]
table G[gdim] = by T.B
show table "Same by group" with
gdim
areSame(T.A)
group by gdim
Output:
gdim
areSame(T.A)
a
true
b
false
c
true
See also