예제 #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)
예제 #2
0
파일: types.py 프로젝트: rok/arrow
def is_primitive(t):
    """
    Return True if the value is an instance of a primitive type
    """
    return lib._is_primitive(t.id)
예제 #3
0
def is_primitive(t):
    """
    Return True if the value is an instance of a primitive type
    """
    return lib._is_primitive(t.id)