Open dplassgit opened 1 week ago
Examples:
x <=> y
x ?? y
x?.field
x.field
x
null
^x
"hello"[^1]
"o"
Copied from beef https://www.beeflang.org/docs/language-guide/operators/
Examples:
x <=> y
result is <0 if x<y, 0 if x==y, >0 if x>yx ?? y
results in x if it is non-null, otherwise results in yx?.field
results inx.field
ifx
is not-null
, otherwise results innull
^x
: indexes the xth element counting from the end of an array or string, e.g.,"hello"[^1]
is"o"
. Similar to python negative indexes