NativeMethod type
Methods
- params(m:NativeMethod)
Introspect method parameters Example
(+).Arr()[2].params().each(echo) # {name=a, type=<Type Int>} # {name=b, type=<Type Int>}
- Str(nm:NativeMethod) Source: stdlib.ngs:829
String representation of native method. Returns
"<NativeMethod NAME(PARAMS)>"Example
(%).Arr()[0].Str().echo() # Outputs: <NativeMethod %(a:Int, b:Int)>