    

 ## On this page

  

 

 # values

 Last update: 16.07.2025 

public [values](values.md)(): [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)&lt;[Variable.MetadataAccess](index.md)&gt;

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

#### Return

an array containing the constants of this enum type, in the order they're declared