f::take (public)

 f::take n xs

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

returns the first n elements of xs

Parameters:
n
xs

Partial Call Graph (max 5 caller/called nodes):
%3 f::split_at f::split_at (public) f::take f::take f::split_at->f::take f::take_until f::take_until (public) f::take_until->f::take f::take_while f::take_while (public) f::take_while->f::take f::- f::- f::take->f::-

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