• Checks whether the url path is equal to the path argument.

    Note that the validation of the url argument should be performed before passing the url argument to this validation.

    Example

    expect(isURLPathEqual(urlA, "/aa/bb/").value).toBeTruthy();
    

    Parameters

    • url: string

      The url string

    • path: string

      The path string

    Returns Result<boolean | undefined>

Generated using TypeDoc