Sha256: 79b5e392ed1f71fd6fdc21c82841ce1456eb0665ee263f5a85b39a0ee8349c19
Contents?: true
Size: 318 Bytes
Versions: 77
Compression:
Stored size: 318 Bytes
Contents
Take a nested list and return a single flattened list with all values except nil/null. The challenge is to write a function that accepts an arbitrarily-deep nested list-like structure and returns a flattened structure without any nil/null values. For Example input: [1,[2,3,null,4],[null],5] output: [1,2,3,4,5]
Version data entries
77 entries across 77 versions & 1 rubygems