Checks whether the target string is a valid Magnet URI
target
expect(isMagnetURI('magnet:?xt.1=urn:sha1:ABCDEFGHIJKLMNOPQRSTUVWXYZ123456&xt.2=urn:sha1:ABCDEFGHIJKLMNOPQRSTUVWXYZ123456').value).toBeTruthy()
The target
Generated using TypeDoc
Checks whether the
target
string is a valid Magnet URIExample