Home

Check url belongs to  site pages library in spfx

%3CLINGO-SUB%20id%3D%22lingo-sub-1053913%22%20slang%3D%22en-US%22%3ECheck%20url%20belongs%20to%26nbsp%3B%20site%20pages%20library%20in%20spfx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1053913%22%20slang%3D%22en-US%22%3E%3CP%3EFrom%20url%2C%20I%20want%20to%20check%20whether%20it%20belongs%20to%26nbsp%3B%20site%20pages%20library.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftenantname.sharepoint.com%2Fsites%2FIntranet%2FSitePages%2FHome.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftenantname.sharepoint.com%2Fsites%2FIntranet%2FSitePages%2FHome.aspx%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20spfx%2C%20using%26nbsp%3B%40pnp%2Fsp%20can%20we%20check%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Sajith G H
Contributor

From url, I want to check whether it belongs to  site pages library. 

https://tenantname.sharepoint.com/sites/Intranet/SitePages/Home.aspx

 

In spfx, using @pnp/sp can we check ?