# [Ride v4 and v3] Tuple
⚠️ This is the documentation for the Standard library version 4 and 3. We recommend to use version 6. Go to version 6
Tuples are added in Standard library version 4.
Tuple is an ordered collection of elements. Elements can be of any type. The tuple can contain from 2 to 22 elements.
For weight restrictions, see the Data Weight article.
# Example
let x=("Hello Waves",42,true)
x._2
Result: 42
let (a,b,c)=x
c
Result: true
match (if true then (1, 2) else (true, "q")) {
case _: (Boolean, String) => false
case _: (Int, Int) => true
}
Result: true