isLevel method

bool isLevel(
  1. Bip44Levels level
)

check level with current bip-44 level

Implementation

bool isLevel(Bip44Levels level) {
  return bip32.depth.depth == level.value;
}