FUNCTION_STATEMENT

const val FUNCTION_STATEMENT: Int = 1

A function statement is a function appearing as a top-level statement, not nested inside some other statement, in either a script or a function.