take


Description:

public void take (string name, owned Symbol? symbol)

Sets the symbol named name to symbol in scope.

This differs from @set in that it takes ownership of symbol.

Parameters:

this

A Scope

name

The name of the symbol

symbol

A Symbol or null




2022 vala-language.org