• Check if the string is an IP (version 4 or 6).

    Parameters

    • str: string
    • Optional version: IPVersion

      IP Version

    Returns boolean

Generated using TypeDoc