AutoOpenRsUtils Module
Functions and values
Function or value |
Description
|
Full Usage:
x |>! f
Parameters:
'a
f : 'a -> 'b
Returns: 'a
Modifiers: inline Type parameters: 'a, 'b |
Apply function, like |> , but ignore result. Return original input. let inline (|>!) x f = f x |> ignore ; x Be aware of correct indenting see: https://stackoverflow.com/questions/64784154/indentation-change-after-if-else-expression-not-taken-into-account
|
Full Usage:
a |? b
Parameters:
'T
b : 'T
Returns: 'T
Modifiers: inline Type parameters: 'T |
Null coalescing: Returns the value on the left unless it is null, then it returns the value on the right.
|
|
German culture (used for float parsing).
|
|
American English culture (used for float parsing).
|
Full Usage:
isNanOrInf f
Parameters:
float<'T>
Returns: bool
Modifiers: inline Type parameters: 'T |
Test is a floating point number (with Measure) is NaN (Not a Number) or Infinity.
|
Full Usage:
notNull value
Parameters:
'T
Returns: bool
Modifiers: inline Type parameters: 'T |
Returns false if the value is null. The opposite of isNull
|
Full Usage:
parseFloatEnDe x
Parameters:
string
Returns: float
|
First tries to parses float with En-Us CultureInfo (period as decimal separator). If this fails tries to parse parses float with De-At CultureInfo (comma as decimal separator).
|
Full Usage:
t1 (a, arg1, arg1)
Parameters:
'a
arg1 : 'b
arg2 : 'c
Returns: 'a
Modifiers: inline Type parameters: 'a, 'b, 'c |
Get first element of Triple (Tuple of three elements)
|
Full Usage:
t2 (arg1, b, arg1)
Parameters:
'a
b : 'b
arg2 : 'c
Returns: 'b
Modifiers: inline Type parameters: 'a, 'b, 'c |
Get second element of Triple (Tuple of three elements)
|
Full Usage:
t3 (arg1, arg1, c)
Parameters:
'a
arg1 : 'b
c : 'c
Returns: 'c
Modifiers: inline Type parameters: 'a, 'b, 'c |
Get third element of Triple (Tuple of three elements)
|
Full Usage:
toDegrees radians
Parameters:
float<'T>
Returns: float
Modifiers: inline Type parameters: 'T |
|
Full Usage:
toRadians degrees
Parameters:
float<'T>
Returns: float
Modifiers: inline Type parameters: 'T |
|
Full Usage:
tryParseFloatEnDe x
Parameters:
string
Returns: float option
|
First tries to parses float with En-Us CultureInfo (period as decimal separator), if this fails tries to parse parses float with De-At CultureInfo (comma as decimal separator).
|
Type extensions
Type extension |
Description
|
Full Usage:
this.DoesNotContain
Parameters:
'T
Returns: bool
|
|
Full Usage:
this.GetNeg
Parameters:
int
Returns: 'T
|
Gets an item in the ResizeArray by index. Allows for negative index too ( -1 is last item, like Python)
Extended Type:
|
Full Usage:
this.Last
Parameters:
unit
Returns: 'T
|
Get (or set) the last item in the Array. equal to this.[this.Length - 1] (this is an Extension Member from FsEx.ExtensionsArray)
Extended Type:
|
Full Usage:
this.Last
Returns: 'T
|
Get (or set) the last item in the Array. equal to this.[this.Length - 1] (this is an Extension Member from FsEx.ExtensionsArray)
Extended Type:
|
Full Usage:
this.Last
Parameters:
'T
|
Get (or set) the last item in the Array. equal to this.[this.Length - 1] (this is an Extension Member from FsEx.ExtensionsArray)
Extended Type:
|
Full Usage:
this.Last
|
Get (or set) the last item in the Array. equal to this.[this.Length - 1] (this is an Extension Member from FsEx.ExtensionsArray)
Extended Type:
|