isCube property

bool isCube

Returns true if this is equal to a whole integer cubed.

Implementation

bool get isCube => isPowerOf(3);