primitive-type documentation
Here is the documentation of primitive-type.
primitive-type is a Python library, you can check a value or object if the type of it is primitive, or convert it to other primitive type.
See the Code References for more details.