@discordx/pagination
    Preparing search index...

    Class Pagination<T>

    Type Parameters

    Index

    Constructors

    Properties

    currentPage: number
    maxLength: number
    message?: Message<boolean>
    pages: T | PaginationItem[]

    Accessors

    Methods

    • Get current page info

      Returns {
          canNext: boolean;
          canPrevious: boolean;
          currentPage: number;
          isFirst: boolean;
          isLast: boolean;
          totalPages: number;
      }