[Stable]

get_more(total_count, limit)

Arguments

total_count

(int) The total count of downloaded records

limit

(int) or NULL The max count of records to download

Value

(lgl) TRUE if limit has not been reached or limit is NULL, else FALSE

Examples

testthat::expect_true(get_more(0L, NULL))
testthat::expect_true(get_more(1000L, NULL))
testthat::expect_true(get_more(9L, 10))
testthat::expect_false(get_more(10L, 10))