27.3. FilterZero

27.3.1. Description

The "FilterZero" filter function accepts a set of Streams and returns a subset of those Streams for which each stream has at least one non-zero data point.

27.3.2. Parameters

Table 27.2. 

ParameterDescription
StreamsA stream expression

27.3.3. Example(s)

The following streams definition shows the use of the FilterZero filter function to return only those coverage streams that have a non-zero value.

streams NonZeroWorkspaceCoverageStreams() = {
  "NonZero workspace coverage",
  FilterZero(WorkspaceCoverage("Percentage", "**", "line"))
};