Belin.io Core
    Preparing search index...

    Class IPAddress

    Represents an IP address.

    Index

    Constructors

    Properties

    ipv4Pattern: RegExp = ...

    The regular expression used to validate an IPv4 address.

    ipv6Pattern: RegExp = ...

    The regular expression used to validate an IPv4 address.

    Accessors

    • get isEmpty(): boolean

      Value indicating whether this IP address is empty.

      Returns boolean

    • get isValid(): boolean

      Value indicating whether this IP address is valid.

      Returns boolean

    Methods

    • Returns a JSON representation of this object.

      Returns string

      The JSON representation of this object.

    • Returns a string representation of this object.

      Returns string

      The string representation of this object.