Nekomata + -e, 3 bytes
Ɗ¦ů
Attempt This Online!
Ɗ¦ů
Ɗ Decimal digits
¦ Divided by, and check if the result are integers
ů Check if all elements are unique
This has been making me unhappy
3 bytes and we're stuck with 7
And tbh I've been thinking about whether there'd be some benefit to incorporating some form of non determinism
But I've come up with a better idea
Uno flip
Or specifically, a flip modifier that makes elements return a null or fail type for certain inputs
So like you might write flatten flip: int-div all-unique?
And the flip modifier would make div by 0 and non-int results a fail type
My current working name for the fail type is the nuh-uh type
Like that kinda nuh uh
It's a bad name I know but it's good for now
If a flip modifier was given a function or modifier, flip mode would be applied to everything in the function
So I suppose it'd be a context thing too
And there could also be a flag to have everything flipped by default
The name flip comes from how uno flip has double sided cards
And you can switch which side gets played on with a flip card