is_primitive

asdf.util.is_primitive(value)[source]

Determine if a value is an instance of a “primitive” type.

Parameters
valueobject

the value to test

Returns
bool

True if the value is primitive, False otherwise