Method: GraphQL::Pagination::Connection#has_previous_page

Defined in:
lib/graphql/pagination/connection.rb

#has_previous_pageBoolean

Returns True if there were items before these items.

Returns:

  • (Boolean)

    True if there were items before these items

Raises:



201
202
203
# File 'lib/graphql/pagination/connection.rb', line 201

def has_previous_page
  raise PaginationImplementationMissingError, "Implement #{self.class}#has_previous_page to return the previous-page check"
end