darray: handle case where we don't have typeof.