isHardenedIndex static method

bool isHardenedIndex(
  1. int index
)

Get if the specified index is hardened.

Implementation

static bool isHardenedIndex(int index) {
  return BitUtils.intIsBitSet(
      index, Bip32KeyDataConst.keyIndexHardenedBitNum);
}