Function is_last_slot_of_an_epoch

Source
pub fn is_last_slot_of_an_epoch(slot: Slot, slots_per_epoch: u32) -> bool
Expand description

Checks whether slot is the last slot of its epoch given slots_per_epoch