values

Summary

Returns the values of the dictionary.

Usage

public T[] values()

Returns

An array of the dictionary's values.

Description

Returns the values of the dictionary in an array.

Examples

Basic Usage
1
2
3
4
5
6
7
import System;
 
Dictionary<int> empty = {};
Dictionary<int> notEmpty = { a: 10, b: 11, c: 12 };
 
Console.log(empty.values());    // []
Console.log(notEmpty.values()); // [ 10, 11, 12 ]

Share

HTML | BBCode | Direct Link