Skip to content

Instantly share code, notes, and snippets.

View zcmgyu's full-sized avatar
😷

Long Nguyen zcmgyu

😷
  • HumanCrest Co., Ltd
  • Vietnam & Japan
View GitHub Profile
@ilmoralito
ilmoralito / get all keys in a map
Last active June 18, 2024 14:06
Groovy get all keys in a map
def map = [language:"groovy", framework:"grails"]
def keys = map.keySet() as List
assert ["language", "framework"] == keys