mirror of
https://github.com/janet-lang/janet
synced 2025-05-24 10:14:12 +00:00
doc for identity
This function only takes one argument anyway, and errors if you try to pass more.
This commit is contained in:
parent
7c8f5ef811
commit
1b8928a8ec
@ -692,7 +692,7 @@
|
|||||||
;(tuple/slice functions 4 -1)))))
|
;(tuple/slice functions 4 -1)))))
|
||||||
|
|
||||||
(defn identity
|
(defn identity
|
||||||
"A function that returns its first argument."
|
"A function that returns its argument."
|
||||||
[x]
|
[x]
|
||||||
x)
|
x)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user