• Check if target is a valid port number

    Example

    expect(().value).toBeTruthy()
    

    Parameters

    • target: string

      The port number

      Example

      expect(isPort('4200').value).toBeTruthy()

    Returns Result<boolean | undefined>

Generated using TypeDoc