ip-num
    Preparing search index...

    Class AbstractIPRange<T, P>Abstract

    Provides the implementation of functionality that are common to IPv4CidrRange and IPv6CidrRange

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    bitValue: bigint

    Methods

    • Returns a lazily evaluated representation of the IP range that produces IP numbers by either:

      • iterating over using the for of syntax
      • converting to array using spread syntax
      • or assigning values to variables using deconstruction

      Parameters

      • Optionalcount: number

        the number of IP numbers to lazily evaluate. If none is given, the whole IP range is lazily returned.

      Returns Iterable<AbstractIPNum>