Remove all zero-length elements from list ignoring AsIs elements
compact2(.x, .p = identity)
.x |
|
.p |
|
list
containing no empty elements, but does leave anything that
has been wrapped in I()
making the class AsIs
which signals
to toJSON
not to drop the value, but to set as null.
This function is meant to be used internally. Only use when debugging.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.