Functions Index :: S :: Self

[<< up one level]

Module:

base :: core

Definition:

Self(val x)

Description:

Returns its argument unchanged. [1]

Examples:

x = 2.3

y = Self(x) # y == 2.3

s = "a test string"

z = Self(s) # y == "a test string"

 

[<< top]

 


[1]: The function is provided as a building block of more complex functions, particularly for operations on arrays. See the documentation of the array package and the ArrayOpFunc, ArrayOpArrayFunc and ArraySum functions.