junobuild_shared::utils

Function principal_not_equal

Source
pub fn principal_not_equal(x: Principal, y: Principal) -> bool
Expand description

Checks if two principals are not equal.

§Arguments

  • x - The first principal to compare.
  • y - The second principal to compare.

§Returns

True if the principals are not equal; false otherwise.