Checks whether the url fragment is equal to the fragment argument.
url
fragment
Note that the validation of the url argument should be performed before passing the url argument to this validation.
expect(isURLFragmentEqual(urlA, "/aa/bb/").value).toBeTruthy();
The url string
The fragment string
Generated using TypeDoc
Checks whether the
url
fragment is equal to thefragment
argument.Note that the validation of the url argument should be performed before passing the
url
argument to this validation.Example