valueOf

Summary

Returns the primitive array value wrapped by the System.Array<T> object.

Usage

public T[] valueOf()

Returns

The primitive array value wrapped by the System.Array<T> object.

Description

Returns the primitive array value wrapped by the System.Array<T> object.

Examples

Basic Usage
1
2
3
4
import System;
 
System.Array<int> arr = new System.Array<int>([1, 2, 3]);
Console.log(arr.valueOf()); // [1, 2, 3]

Share

HTML | BBCode | Direct Link