List Functions
Formatting your lists is important in some instances when presenting information. The following tables provide overviews of Knackly's capabilities.
List | Instance Properties | Type | Additional Information |
---|---|---|---|
length | number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length |
List | Instance Methods | Result Type | Additional Information | |
---|---|---|---|---|
concat | list | (any) | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat | |
includes | true/false | value | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes | |
indexOf | number | value | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf | |
join | text | separator text | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join | |
lastIndexOf | number | value | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf | |
slice | list | fromIndex | toIndex | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice |