Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

Get

Declaring type: Array<T>
Module: System
Assembly: System.Runtime.dll
Source file: Array.rvn

Overloads / Variants

Get

func Get(index: Index) -> Optional<T>

Source file: Array.rvn

Resolves a directional index and returns the element, or None when outside this array.

Parameters

Name Type Description
index Index

Return value

Optional<T>

Get

func Get(index: int) -> Optional<T>

Source file: Array.rvn

Returns the element, or None when index is outside this array.

Parameters

Name Type Description
index Int32

Return value

Optional<T>