ixfx
    Preparing search index...

    Function filterIterable

    • Filters an iterator of values, only yielding those that are valid numbers

      const data = [true, 10, '5', { x: 5 }];
      for (const n of Numbers.filterIterable(data)) {
      // 10
      }

      Parameters

      • it: Iterable<unknown>

      Returns Generator<unknown, void, unknown>