f::take_while (public)
f::take_while p xs
Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl
- Parameters:
- p (required)
- xs (required)
- Returns:
- the longest initial segment of xs whose elements satisfy p
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- functional_api