@maschinenlesbar.org/openka-cli
    Preparing search index...

    Function assertPaging

    • Check the paging contract: limit an integer >= 1, offset an integer >= 0. Throws OpenKaValidationError otherwise. A negative value used to wrap around through slice — offset: -1 answered the last hit, limit: -1 dropped the last one — next to a total that looked right. Upper bounds are not the library's: ka caps each command's page for presentation.

      Parameters

      • paging: { limit?: number; offset?: number }

      Returns void