← All docs

get_defined_vars()

Returns variables visible in the current scope.

get_defined_vars()

function get_defined_vars(): array

Returns variables visible in the current scope.

Parameters: none.

Returns: array

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how get_defined_vars is implemented in the compiler, see the internals page.