junobuild-shared 0.0.23

Shared utilities for Juno.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use ic_ledger_types::AccountIdentifier;

/// Checks if two account identifiers are equal.
///
/// # Arguments
/// * `x` - The first account identifier to compare.
/// * `y` - The second account identifier to compare.
///
/// # Returns
/// True if the account identifiers are equal; false otherwise.
pub fn account_identifier_equal(x: AccountIdentifier, y: AccountIdentifier) -> bool {
    x == y
}