pylas/utils.py
def files_have_same_point_format_id(las_files):
    """ Returns true if all the files have the same points format id
    """
    point_format_found = {las.header.point_format_id for las in las_files}
    return len(point_format_found) == 1
def files_have_same_point_format_id(las_files):
    """ Returns true if all the files have the same points format id
    """
    point_format_found = {las.header.point_format_id for las in las_files}
    return len(point_format_found) == 1
Returns true if all the files have the same points format id