def is_primitive(t):
    """
    Return True if the value is an instance of a primitive type.

    Parameters
    ----------
    t : DataType
    """
    return lib._is_primitive(t.id)
Example #2
0
File: types.py Project: rok/arrow
def is_primitive(t):
    """
    Return True if the value is an instance of a primitive type
    """
    return lib._is_primitive(t.id)
Example #3
0
def is_primitive(t):
    """
    Return True if the value is an instance of a primitive type
    """
    return lib._is_primitive(t.id)