DataFrame.isEmpty

bool isEmpty() const @safe pure nothrow

Returns

true when the frame has no rows or no columns.