-
Notifications
You must be signed in to change notification settings - Fork 110
dictionary
Rodrigo E. Principe edited this page Oct 30, 2018
·
1 revision
Extract values from a dictionary that match keys from the given list
var list = ['a', 'c']
var dict = {a: 1, b:2, c:3}
var values = tools.dictionary.extractList(dict, list)
print(values) // [1, 3]
https://code.earthengine.google.com/e6200496f6089e6cd4eab8d7f009668a
- @author: Rodrigo E. Principe
- email: fitoprincipe82 at gmail
- Licence: MIT