- Official Documentation: https://www.visidata.org/docs/
 - Cheat sheet: https://jsvine.github.io/visidata-cheat-sheet/en/
 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | input = [{ id: 2 }, { id: 3 }, { id: 8 }] | |
| known_ids = [1, 2, 3, 4, 6, 7] | |
| # extract ids as array | |
| input_ids = input.map(&:values).flatten | |
| # find the intersection (ids in common) between the arrays | |
| common_ids = known_ids & input_ids # => [2, 3] | |
| # find the union (all ids) between the arrays |