PervasiveAutoOpens Module
Types
Type | Description |
Indicates that a type may be null. 'MaybeNull |
Functions and values
Function or value |
Description
|
Full Usage:
x === y
Parameters:
'a
y : 'a
Returns: bool
Modifiers: inline Type parameters: 'a |
|
Full Usage:
x >>>& n
Parameters:
int32
n : int32
Returns: int32
|
Logical shift right treating int32 as unsigned integer. Code that uses this should probably be adjusted to use unsigned integer types.
|
Full Usage:
LOH_SIZE_THRESHOLD_BYTES
Returns: int
|
Per the docs the threshold for the Large Object Heap is 85000 bytes: https://learn.microsoft.com/dotnet/standard/garbage-collection/large-object-heap#how-an-object-ends-up-on-the-large-object-heap-and-how-gc-handles-them We set the limit to be 80k to account for larger pointer sizes for when F# is running 64-bit.
|
Full Usage:
foldOn p f z x
Parameters:
'a -> 'b
f : 'c -> 'b -> 'd
z : 'c
x : 'a
Returns: 'd
|
|
Full Usage:
getHole r
Parameters:
'a option ref
Returns: 'a
|
Get an initialization hole
|
Full Usage:
isNil l
Parameters:
'a list
Returns: bool
Modifiers: inline Type parameters: 'a |
|
Full Usage:
isNilOrSingleton l
Parameters:
'a list
Returns: bool
Modifiers: inline Type parameters: 'a |
Returns true if the list has less than 2 elements. Otherwise false.
|
Full Usage:
isNotNull x
Parameters:
'T
Returns: bool
Modifiers: inline Type parameters: 'T |
Returns true if the argument is non-null.
|
Full Usage:
isSingleton l
Parameters:
'a list
Returns: bool
Modifiers: inline Type parameters: 'a |
Returns true if the list contains exactly 1 element. Otherwise false.
|
Full Usage:
notFound ()
Parameters:
unit
Returns: 'a
|
|
|
|
Full Usage:
nullArgCheck paramName x
Parameters:
string
x : 'T MaybeNull
Returns: 'T
Modifiers: inline Type parameters: 'T |
|
Full Usage:
reportTime
Returns: string -> unit
|
|
Type extensions
Type extension |
Description
|
Full Usage:
this.EndsWithOrdinal
Parameters:
string
Returns: bool
Modifiers: inline |
|
Full Usage:
this.EndsWithOrdinalIgnoreCase
Parameters:
string
Returns: bool
Modifiers: inline |
|
Full Usage:
this.IndexOfOrdinal
Parameters:
string
Returns: int
Modifiers: inline |
|
Full Usage:
this.IndexOfOrdinal
Parameters:
string
startIndex : int
Returns: int
Modifiers: inline |
|
Full Usage:
this.IndexOfOrdinal
Parameters:
string
startIndex : int
count : int
Returns: int
Modifiers: inline |
|
Full Usage:
Async.RunImmediate(computation, ?cancellationToken)
Parameters:
Async<'T>
?cancellationToken : CancellationToken
Returns: 'T
|
Runs the computation synchronously, always starting on the current thread.
Extended Type:
|
Full Usage:
this.StartsWithOrdinal
Parameters:
string
Returns: bool
Modifiers: inline |
Active patterns
Active pattern |
Description
|
|
|
Full Usage:
(|NonNullQuick|) arg1
Parameters:
'T MaybeNull
Returns: 'T
Modifiers: inline Type parameters: 'T |
|
|
|
|