Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 738 Bytes

File metadata and controls

24 lines (19 loc) · 738 Bytes
title Enums
intro Enums represent possible sets of values for a field.
redirect_from
/v4/enum
/v4/reference/enum
versions
fpt ghec ghes
*
*
*
autogenerated graphql
category
Explore the schema reference

About enums

Enums represent possible sets of values for a field.

For example, the Issue object has a field called state. The state is an enum (specifically, of type IssueState) because it may be OPEN or CLOSED.

For more information, see AUTOTITLE.