f::take (public)

 f::take n xs

Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl

Parameters:
n
xs
Returns:
the first n elements of xs

Partial Call Graph (max 5 caller/called nodes):
%3 test_functional_api functional_api (test acs-tcl) f::take f::take test_functional_api->f::take f::split_at f::split_at (public) f::split_at->f::take f::take_until f::take_until (public) f::take_until->f::take

Testcases:
functional_api
Source code:
    lrange $xs 0 ${n}-1
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: