MIN: typechecking inbound atoms?
Jan 27 2022 | 8:09 pm
Data coming into an inlet are always of type atom. Atoms can be cast to other types pretty easily... so long as the inbound atom actually is of that type.
What is the best way to typecheck inbound atoms? I have found some ways to typecheck standard types like int, float, string. Thought I doubt any of them are ideal. And then things get complicated when I want to confirm the atom is a dict.
Curious if there is a best practice around typechecking atoms coming in to Min objects.