FSMAP(array, f)
FS// Make every string in the array uppercase MAP(ARRAY("alice", "bob", "chris"), UPPERCASE) // -> ["ALICE", "BOB", "CHRIS"] // Square every number in the array MAP(ARRAY(1, 2, 3, 4, 5), function(x: x ^ 2)) // -> [1, 4, 9, 16, 25]
Learn more about map in one of the following articles