Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- groovy:000> [].first()
- ERROR java.util.NoSuchElementException:
- Cannot access first() element from an empty List
- at groovysh_evaluate.run (groovysh_evaluate:2)
- ...
- groovy:000> [][0]
- ===> null
Add Comment
Please, Sign In to add comment