Arr Class

DECLARATION
public static partial class Arr
NAMESPACE
LanguageExt

Methods

add<T>(Arr<T>, T)
SUMMARY

Add an item to the array

PARAMETERS
array
Arr<T>
Array
value
T
Item to add
DECLARATION
[Pure]
public static Arr<T> add<T>(Arr<T> array, T value)
RETURNS
Arr<T>
A new Lst T
addRange<T>(Arr<T>, IEnumerable<T>)
SUMMARY

Add a range of items to the array

PARAMETERS
array
Arr<T>
Array
value
IEnumerable<T>
Items to add
DECLARATION
[Pure]
public static Arr<T> addRange<T>(Arr<T> array, IEnumerable<T> value)
RETURNS
Arr<T>
A new Lst T
create<T>()
SUMMARY

Create a new empty array

DECLARATION
[Pure]
public static Arr<T> create<T>()
RETURNS
Arr<T>
Lst T
create<T>(T)
SUMMARY

Create an array from a initial set of items

PARAMETERS
items
T
Items
DECLARATION
[Pure]
public static Arr<T> create<T>(T items)
RETURNS
Arr<T>
Lst T
createRange<T>(IEnumerable<T>)
SUMMARY

Create an array from an initial set of items

PARAMETERS
items
IEnumerable<T>
Items
DECLARATION
[Pure]
public static Arr<T> createRange<T>(IEnumerable<T> items)
RETURNS
Arr<T>
Lst T
empty<T>()
SUMMARY

Create an empty array

DECLARATION
[Pure]
public static Arr<T> empty<T>()
RETURNS
Arr<T>
remove<T>(Arr<T>, T)
SUMMARY

Remove an item from the array

PARAMETERS
array
Arr<T>
Array
value
T
value to remove
DECLARATION
[Pure]
public static Arr<T> remove<T>(Arr<T> array, T value)
RETURNS
Arr<T>
A new Lst T
removeAt<T>(Arr<T>, int)
SUMMARY

Remove an item at a specified index in the array

PARAMETERS
array
Arr<T>
Array
index
int
Index of item to remove
DECLARATION
[Pure]
public static Arr<T> removeAt<T>(Arr<T> array, int index)
RETURNS
Arr<T>
A new Lst T
rev<T>(Arr<T>)
SUMMARY

Reverses the array (Reverse in LINQ)

PARAMETERS
array
Arr<T>
Array to reverse
DECLARATION
[Pure]
public static Arr<T> rev<T>(Arr<T> array)
RETURNS
Arr<T>
Reversed list