fix: make last(empty) yield no output values by itchyny · Pull Request #3179 · jqlang/jq
This patch fixes last/1 to produce no output value when the argument yields nothing. For example, [last(empty)] and [last(range(0))] now produce [] instead of [null]. I fixed the issue using byte-c...