AutoOpenResizeArrayExtensions Module
Extension methods for ResizeArray<'T>. This module is automatically opened when the namespace ResizeArray is opened.
Type extensions
Type extension | Description |
Full Usage:
this.AsString
Parameters:
unit
Returns: string
|
|
Full Usage:
this.AsString
Returns: string
|
|
|
|
Full Usage:
this.Duplicate
Parameters:
unit
Returns: ResizeArray<'T>
|
|
|
|
Full Usage:
this.FailIfLessThan
Parameters:
int
errorMessage : string
Returns: List<'T>
Modifiers: inline |
|
Full Usage:
this.First
Parameters:
unit
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.First
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.First
Parameters:
'T
Modifiers: inline |
|
Full Usage:
this.First
Modifiers: inline |
Extended Type:
|
Full Usage:
this.FirstAndOnly
Parameters:
unit
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.FirstAndOnly
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.Get
Parameters:
int
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.GetLooped
Parameters:
int
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.GetNeg
Parameters:
int
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.GetReverseIndex
Parameters:
'a
offset : int
-
The offset from the end.
Returns: int
The corresponding index from the start.
|
Extended Type:
|
Full Usage:
this.GetSlice
Parameters:
int option
endIdx : int option
Returns: ResizeArray<'T>
|
|
Full Usage:
this.HasItems
Parameters:
unit
Returns: bool
Modifiers: inline |
|
Full Usage:
this.HasItems
Returns: bool
Modifiers: inline |
|
Full Usage:
this.Idx
Parameters:
int
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.InsertAtStart
Parameters:
'T
Modifiers: inline |
|
Full Usage:
this.IsEmpty
Parameters:
unit
Returns: bool
Modifiers: inline |
|
Full Usage:
this.IsEmpty
Returns: bool
Modifiers: inline |
|
Full Usage:
this.IsEqualTo
Parameters:
ResizeArray<'T>
Returns: bool
|
Shallow Structural equality comparison. Compares each element in both lists for equality. However nested ResizeArrays inside a ResizeArray are only compared for referential equality in .NET. When used in Fable (JavaScript) the nested ResizeArrays are compared for structural equality as per the Fable implementation of Javascript Arrays. (Like the default behavior of Collections.Generic.List) Raises ArgumentNullException if either list is null.
Extended Type:
|
Full Usage:
this.IsNotEmpty
Parameters:
unit
Returns: bool
Modifiers: inline |
|
Full Usage:
this.IsNotEmpty
Returns: bool
Modifiers: inline |
|
Full Usage:
this.IsSingleton
Parameters:
unit
Returns: bool
Modifiers: inline |
|
Full Usage:
this.IsSingleton
Returns: bool
Modifiers: inline |
|
Full Usage:
this.Last
Parameters:
unit
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.Last
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.Last
Parameters:
'T
Modifiers: inline |
|
Full Usage:
this.Last
Modifiers: inline |
Extended Type:
|
Full Usage:
this.LastIndex
Parameters:
unit
Returns: int
Modifiers: inline |
|
Full Usage:
this.LastIndex
Returns: int
Modifiers: inline |
|
Full Usage:
this.Pop
Parameters:
unit
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.Pop
Parameters:
int
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.Second
Parameters:
unit
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.Second
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.Second
Parameters:
'T
Modifiers: inline |
|
Full Usage:
this.Second
Modifiers: inline |
Extended Type:
|
Full Usage:
this.SecondLast
Parameters:
unit
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.SecondLast
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.SecondLast
Parameters:
'T
Modifiers: inline |
|
Full Usage:
this.SecondLast
Modifiers: inline |
Extended Type:
|
Full Usage:
this.Set
Parameters:
int
value : 'T
Modifiers: inline |
|
Full Usage:
this.SetLooped
Parameters:
int
value : 'T
Modifiers: inline |
|
Full Usage:
this.SetNeg
Parameters:
int
value : 'T
Modifiers: inline |
|
Full Usage:
this.SetSlice
Parameters:
int option
endIdx : int option
newValues : IList<'T>
|
|
Full Usage:
this.Slice
Parameters:
int
endIdx : int
Returns: ResizeArray<'T>
|
|
Full Usage:
this.Third
Parameters:
unit
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.Third
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.Third
Parameters:
'T
Modifiers: inline |
|
Full Usage:
this.Third
Modifiers: inline |
Extended Type:
|
Full Usage:
this.ThirdLast
Parameters:
unit
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.ThirdLast
Returns: 'T
Modifiers: inline |
|
Full Usage:
this.ThirdLast
Parameters:
'T
Modifiers: inline |
|
Full Usage:
this.ThirdLast
Modifiers: inline |
Extended Type:
|
Full Usage:
this.ToString
Parameters:
int
Returns: string
|