diff options
Diffstat (limited to 'doc/reference/jsextensions')
-rw-r--r-- | doc/reference/jsextensions/jsextension-host.qdoc | 8 | ||||
-rw-r--r-- | doc/reference/jsextensions/jsextensions-general.qdoc | 24 |
2 files changed, 4 insertions, 28 deletions
diff --git a/doc/reference/jsextensions/jsextension-host.qdoc b/doc/reference/jsextensions/jsextension-host.qdoc index 1dda85d17..c011e90eb 100644 --- a/doc/reference/jsextensions/jsextension-host.qdoc +++ b/doc/reference/jsextensions/jsextension-host.qdoc @@ -70,7 +70,7 @@ \section2 platform \code - Host.platform(): string[] + Host.platform(): string \endcode Returns the host operating system platform. @@ -111,21 +111,21 @@ \section2 osVersionMajor \code - Host.osVersionMajor(): string[] + Host.osVersionMajor(): number \endcode Returns the host operating system major version. \funsince 1.22 \section2 osVersionMinor \code - Host.osVersionMinor(): string[] + Host.osVersionMinor(): number \endcode Returns the host operating system minor version. \funsince 1.22 \section2 osVersionPatch \code - Host.osVersionPatch(): string[] + Host.osVersionPatch(): number \endcode Returns the host operating system patch level. \funsince 1.22 diff --git a/doc/reference/jsextensions/jsextensions-general.qdoc b/doc/reference/jsextensions/jsextensions-general.qdoc index eb5bbd945..495e90f39 100644 --- a/doc/reference/jsextensions/jsextensions-general.qdoc +++ b/doc/reference/jsextensions/jsextensions-general.qdoc @@ -57,12 +57,6 @@ \section1 Extensions to JavaScript Built-in Objects - \section2 Array.contains - \code - Array.contains(e: any): boolean - \endcode - Returns \c{true} if the array contains the element \c{e}. Returns \c{false} otherwise. - \section2 Array.containsAll \code Array.containsAll(other: any[]): boolean @@ -85,24 +79,6 @@ Duplicates that would originate from the concatenation are removed. The order of elements is preserved. - \section2 String.contains - \code - String.contains(s: string): boolean - \endcode - Returns \c{true} if the string contains the substring \c{s}. Returns \c{false} otherwise. - - \section2 startsWith - \code - String.startsWith(s: string): boolean - \endcode - Returns \c{true} if the string starts with the substring \c{s}. Returns \c{false} otherwise. - - \section2 endsWith - \code - String.endsWith(s: string): boolean - \endcode - Returns \c{true} if the string ends with the substring \c{s}. Returns \c{false} otherwise. - \section1 Console API |