User Tools

Site Tools


modding:function:lnkremovenil

Discuss this page on this pages TalkPage

lnkRemoveNil

See lnkRemoveNil at Xelerus

Syntax (lnkRemoveNil list) → list
Arguments list: The list where you want to remove all values that are Nil.
Returns A list with all the elements that equal Nil removed.
Category list
Description Goes through the list and removes all the Nil elements and returns the result.

Example

(lnkRemoveNil '(a Nil (c Nil) Nil d))

Returns the list (a (c Nil) d). Return to Functions list

modding/function/lnkremovenil.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1