f::flip (public)
f::flip f a b
Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl
Takes a binary function 'f' and two arguments 'a' and 'b' and returns f b a (arguments are flipped). Example: flip lindex 0 {42 37 59 14} = 42
- Parameters:
- f (required)
- a (required)
- b (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- functional_api
Source code: $f $b $aXQL Not present: Generic, PostgreSQL, Oracle