ValueArray.from_values


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.0" ) ]
public ValueArray.from_values (Value[] values)

Allocate and initialize a new ValueArray, and fill it with the given Values.

When no Values are given, returns empty ValueArray.

Parameters:

values

The Value elements

n_values

the number of value elements

Returns:

a newly allocated ValueArray.