Ejemplo n.º 1
0
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)
Ejemplo n.º 2
0
Archivo: types.py Proyecto: rok/arrow
def is_primitive(t):
    """
    Return True if the value is an instance of a primitive type
    """
    return lib._is_primitive(t.id)
Ejemplo n.º 3
0
def is_primitive(t):
    """
    Return True if the value is an instance of a primitive type
    """
    return lib._is_primitive(t.id)