Checks if a web with the given ID exists. # Errors - [`StoreError`] if a database error occurs [`StoreError`]: PrincipalError::StoreError
(&self, web_id: impl Into<Uuid>)
| 414 | /// |
| 415 | /// [`StoreError`]: PrincipalError::StoreError |
| 416 | pub async fn is_web(&self, web_id: impl Into<Uuid>) -> Result<bool, Report<PrincipalError>> { |
| 417 | self.is_principal(ActorGroupId::Web(WebId::new(web_id))) |
| 418 | .await |
| 419 | } |
| 420 | |
| 421 | /// Deletes a web from the system. |
| 422 | /// |
no test coverage detected