From 72d2723a894166ca1f032b706f35ec167667a13c Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Fri, 6 Dec 2024 11:05:36 +0800 Subject: [PATCH] Complete array package module for N8 standard library. --- modules/core@1.0.0/src/array.n8 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/modules/core@1.0.0/src/array.n8 b/modules/core@1.0.0/src/array.n8 index 1e91751..32841bf 100644 --- a/modules/core@1.0.0/src/array.n8 +++ b/modules/core@1.0.0/src/array.n8 @@ -18,23 +18,34 @@ val("n8-std") array.create, array.clear, + array.length, array.reverse, + array.first, array.last, + array.add, array.pushFront, array.pushBack, array.assign, array.slice, + array.remove, array.removeAt, array.removeAll, array.removeSlice, + array.contains, array.find, - array.at, + + array.at array.join, + array.areAllString, array.areAllNumber, - array.areAllFunction + array.areAllFunction, + array.areAllBool, + array.areAllRegex, + array.areAllArray, + array.areAllNil