• Checks whether the url path contains the path argument.

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

    Example

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

    Parameters

    • url: string

      The url string

    • path: string

      The path string

    Returns Result<boolean | undefined>

Generated using TypeDoc