Returns a Stream that yields truthy elements from the source.
Type of items in the source.
Operation that yields truthy elements from the source.
const result = truthy<number>()([0, 1, 2, 3]);console.log([...result]); // [1, 2, 3] Copy
const result = truthy<number>()([0, 1, 2, 3]);console.log([...result]); // [1, 2, 3]
Returns a Stream that yields truthy elements from the source.