Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Scala
scala get the first element of a seq
belinda
Programming language:
Scala
2021-02-01 01:02:04
0
Q:
scala get the first element of a seq
Martin York
Code:
Scala
2021-02-01 01:05:24
Seq("1", "two", "3").head
1
Tags
get
element
first
New to Communities?
Join the community