IntegerDigitsFunction: exploration and examples

I am working on creating a function I intend to submit as a ResourceFunction that works like Richard Hennigan’s StringFunction but for Integer Digits.
Here is some of my work.
I realize there aren’t a lot of comments and text and its a lot of code.