aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-01-29 10:28:14 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2014-01-29 11:12:56 +0100
commitf5875a842dd0ed2219e9633045eacb39b58878d7 (patch)
treed7139961b21db5ad0ee14eb784a523352f7f2542 /doc
parentb281a92594653d1fbb01ea31338430a901f4df3d (diff)
introduce Array.uniqueConcat
Preparation for fixing QBS-501. Change-Id: I00fee37347e320de4a598da093a8eb99df934d55 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/jsextensions/jsextensions-general.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/reference/jsextensions/jsextensions-general.qdoc b/doc/reference/jsextensions/jsextensions-general.qdoc
index b325eedfe..b4981414d 100644
--- a/doc/reference/jsextensions/jsextensions-general.qdoc
+++ b/doc/reference/jsextensions/jsextensions-general.qdoc
@@ -61,6 +61,11 @@
\section2 \c{Array.contains(e)}
Returns \c{true} if the array contains the element \c{e}. Returns \c{false} otherwise.
+ \section2 \c{Array.uniqueConcat(other)}
+ Returns a copy of this array joined with the array \c{other}.
+ Duplicates that would originate from the concatenation are removed.
+ The order of elements is preserved.
+
\section2 \c{String.contains(s)}
Returns \c{true} if the string contains the substring \c{s}. Returns \c{false} otherwise.