diff --git a/en/application-dev/reference/apis/js-apis-abilityAccessCtrl.md b/en/application-dev/reference/apis/js-apis-abilityAccessCtrl.md new file mode 100644 index 0000000000000000000000000000000000000000..b69cb0e03eb33b0e683d773b4bdcb5a379bb6a41 --- /dev/null +++ b/en/application-dev/reference/apis/js-apis-abilityAccessCtrl.md @@ -0,0 +1,219 @@ +# Ability Access Control + +>  **NOTE** +> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. + +## Modules to Import + +``` +import abilityAccessCtrl from '@ohos.abilityAccessCtrl' +``` + +## System Capabilities +SystemCapability.Security.AccessToken + +## abilityAccessCtrl.createAtManager + +createAtManager(): AtManager + +Creates an **AtManager** instance, which is used for ability access control. + +**Return value** + +| Type| Description| +| -------- | -------- | +| [AtManager](#atmanager) | **AtManager** instance obtained.| + +**Example** + +``` +var AtManager = abilityAccessCtrl.createAtManager(); +``` + +## AtManager + +Implements ability access control. + +### verifyAccessToken + +verifyAccessToken(tokenID: number, permissionName: string): Promise<GrantStatus> + +Checks whether an application has been granted the specified permission. This method uses a promise to return the result. + +**Parameters** + +| Name| Type| Mandatory| Description| +| -------- | ------------------- | ---- | ------------------------------------------ | +| tokenID | number | Yes| ID of the application.| +| permissionName | string | Yes| Name of the permission to verify.| + +**Return value** + +| Type| Description| +| :------------ | :---------------------------------- | +| Promise<GrantStatus> | Promise instance used to return the result.| + +**Example** + +``` +const AtManager = abilityAccessCtrl.createAtManager(); +let tokenID = 0; +let promise = AtManager.verifyAccessToken(tokenID, "ohos.permission.GRANT_SENSITIVE_PERMISSIONS"); +promise.then(data => { + console.log(`promise: data->${JSON.stringify(data)}`); +}); +``` + +### grantUserGrantedPermission + +grantUserGrantedPermission(tokenID: number, permissionName: string, permissionFlag: number): Promise<number> + +Grants a user granted permission to an application. This method uses a promise to return the result. + +Required permission: ohos.permission.GRANT_SENSITIVE_PERMISSIONS + +**Parameters** + +| Name| Type| Mandatory| Description| +| --------- | ------------------- | ---- | ------------------------------------------------------------ | +| tokenID | number | Yes| ID of the application.| +| permissionName | string | Yes| Name of the permission to grant.| +| permissionFlag | number | Yes| Permission flag. The value **1** means that a dialog box will still be displayed after the user grants or denies the permission. The value **2** means that no dialog box will be displayed after the user grants or denies the permission. The value **3** means a system permission that cannot be changed.| + +**Return value** + +| Type| Description| +| :------------ | :---------------------------------- | +| Promise<number> | Promise instance used to return the result.| + +**Example** + +``` +const AtManager = abilityAccessCtrl.createAtManager(); +let tokenID = 0; +let promise = AtManager.grantUserGrantedPermission(tokenID, "ohos.permission.GRANT_SENSITIVE_PERMISSIONS"); +promise.then(data => { + console.log(`promise: data->${JSON.stringify(data)}`); +}); +``` + + + +### grantUserGrantedPermission + +grantUserGrantedPermission(tokenID: number, permissionName: string, permissionFlag: number, callback: AsyncCallback<number>): void + +Grants a user granted permission to an application. This method uses an asynchronous callback to return the result. + +Required permission: ohos.permission.GRANT_SENSITIVE_PERMISSIONS + +**Parameters** + +| Name| Type| Mandatory| Description| +| --------- | ------------------- | ---- | ------------------------------------------------------------ | +| tokenID | number | Yes| ID of the application.| +| permissionName | string | Yes| Name of the permission to grant.| +| permissionFlag | number | Yes| Permission flag. The value **1** means that a dialog box will still be displayed after the user grants or denies the permission. The value **2** means that no dialog box will be displayed after the user grants or denies the permission. The value **3** means a system permission that cannot be changed.| +| callback | AsyncCallback<number> | Yes| Callback used to return the result.| + +**Example** + +``` +const AtManager = abilityAccessCtrl.createAtManager(); +let tokenID = 0; +let permissionFlag = 1; +AtManager.grantUserGrantedPermission(tokenID, "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",permissionFlag, data => { + console.log(`callback: data->${JSON.stringify(data)}`); +}); +``` + +### revokeUserGrantedPermission + +revokeUserGrantedPermission(tokenID: number, permissionName: string, permissionFlag: number): Promise<number> + +Revokes a user granted permission given to an application. This method uses a promise to return the result. + +Required permission: ohos.permission.REVOKE_SENSITIVE_PERMISSIONS + +**Parameters** + +| Name| Type| Mandatory| Description| +| --------- | ------------------- | ---- | ------------------------------------------------------------ | +| tokenID | number | Yes| ID of the application.| +| permissionName | string | Yes| Name of the permission to revoke.| +| permissionFlag | number | Yes| Permission flag. The value **1** means that a dialog box will still be displayed after the user grants or denies the permission. The value **2** means that no dialog box will be displayed after the user grants or denies the permission. The value **3** means a system permission that cannot be changed.| + +**Return value** + +| Type| Description| +| :------------ | :---------------------------------- | +| Promise<number> | Promise instance used to return the result.| + +**Example** + +``` +const AtManager = abilityAccessCtrl.createAtManager(); +let tokenID = 0; +let permissionFlag = 1; +let promise = AtManager.revokeUserGrantedPermission(tokenID, "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", permissionFlag); +promise.then(data => { + console.log(`promise: data->${JSON.stringify(data)}`); +}); +``` + +### revokeUserGrantedPermission + +revokeUserGrantedPermission(tokenID: number, permissionName: string, permissionFlag: number, callback: AsyncCallback<number>): void + +Revokes a user granted permission given to an application. This method uses an asynchronous callback to return the result. + +Required permission: ohos.permission.REVOKE_SENSITIVE_PERMISSIONS + +**Parameters** + +| Name| Type| Mandatory| Description| +| --------- | ------------------- | ---- | ------------------------------------------------------------ | +| tokenID | number | Yes| ID of the application.| +| permissionName | string | Yes| Name of the permission to revoke.| +| permissionFlag | number | Yes| Permission flag. The value **1** means that a dialog box will still be displayed after the user grants or denies the permission. The value **2** means that no dialog box will be displayed after the user grants or denies the permission. The value **3** means a system permission that cannot be changed.| +| callback | AsyncCallback<number> | Yes| Callback used to return the result.| + +**Example** + +``` +const AtManager = abilityAccessCtrl.createAtManager(); +let tokenID = 0; +AtManager.revokeUserGrantedPermission(tokenID, "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",permissionFlag, data => { + console.log(`callback: data->${JSON.stringify(data)}`); +}); +``` + +### getPermissionFlags + +getPermissionFlags(tokenID: number, permissionName: string): Promise<number> + +Obtains the flags of the specified permission of a given application. This method uses a promise to return the result. + +**Parameters** + +| Name| Type| Mandatory| Description| +| --------- | ------------------- | ---- | ------------------------------------------------------------ | +| tokenID | number | Yes| ID of the application.| +| permissionName | string | Yes| Name of the permission to query.| + +**Return value** + +| Type| Description| +| :------------ | :---------------------------------- | +| Promise<number> | Promise instance used to return the result.| + +**Example** + +``` +const AtManager = abilityAccessCtrl.createAtManager(); +let tokenID = 0; +let promise = AtManager.getPermissionFlags(tokenID, "ohos.permission.GRANT_SENSITIVE_PERMISSIONS"); +promise.then(data => { + console.log(`promise: data->${JSON.stringify(data)}`); +}); +``` diff --git a/en/application-dev/reference/apis/js-apis-convertxml.md b/en/application-dev/reference/apis/js-apis-convertxml.md index 7d3d923d94128325d197e6fda5d97c8c08752cd6..78cc0b59d10349c97dc3394e8d14442a5efc0604 100644 --- a/en/application-dev/reference/apis/js-apis-convertxml.md +++ b/en/application-dev/reference/apis/js-apis-convertxml.md @@ -1,277 +1,78 @@ -# XML-to-JavaScript Conversion +# XML-to-JavaScript Conversion -> **NOTE:** ->The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. +> **NOTE** +> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. -## Modules to Import + +## Modules to Import ``` import convertxml from '@ohos.convertxml'; ``` -## Required Permissions - -None - -## ConvertXML - -### convert - -convert\(xml: string, options?: ConvertOptions\) : Object +## System Capabilities -Converts an XML text into a JavaScript object. - -- Parameters - - -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -Promise used to return the standard error output in a Uint8Array. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the process is isolated; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the UID is the app's UID; returns false otherwise. - |
-
| - | -- | -
|---|---|
| - | -Returns true if the operating environment is of 64-bit; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the event is deleted; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the signal is sent successfully; returns false otherwise. - |
-
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the two URIs are the same; returns false otherwise. - |
-
| - | -- | -
|---|---|
| - | -Returns true if the URI is an absolute URI; returns false otherwise. - |
-
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Function in the error-first style (that is, (err, value) =>... is called as the last parameter) and the promise version. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -Encoding-related options, which include fatal and ignoreBOM. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns 0 if the two objects are equal; returns 1 if the given object is less than this object; return -1 if the given object is greater than this object. - |
-
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the two objects are equal; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the value of this RationalNumber object is 0; returns false otherwise. - |
-
| - | -- | -
|---|---|
| - | -Returns true if this RationalNumber object is a NaN (the denominator and numerator are both 0); returns false otherwise. - |
-
| - | -- | -
|---|---|
| - | -Returns true if this RationalNumber object represents a finite value (the denominator is not 0); returns false otherwise. - |
-
| - | -- | -
|---|---|
| - | -Returns NaN if the numerator and denominator of this object are both 0; returns a string in Numerator/Denominator format otherwise, for example, 3/5. - |
-
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns the value of the key if a match is found in the buffer; returns undefined otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns the existing value if the key already exists; returns the value added otherwise. If the key or value is null, an exception will be thrown. - |
-
| - | -- | -
|---|---|
| - | -All values in the buffer, listed from the most to the least recently accessed. - |
-
| - | -- | -
|---|---|
| - | -All keys in the buffer, listed from the most to the least recently accessed. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the buffer contains the specified key; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Intersection of this Scope and the given lower and upper limits. - |
-
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Union set of this Scope and the given lower and upper limits. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the value is within this Scope; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the range is within this Scope; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the ArrayBuffer type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the ArrayBufferView type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the arguments type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the ArrayBuffer type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is an asynchronous function; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Boolean type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Boolean, Number, String, or Symbol type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the DataView type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Data type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the native external type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Float32Array type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Float64Array type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is a generator function; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is a generator object; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Int8Array type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Int16Array type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Int32Array type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Map type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the MapIterator type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Error type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is a number object; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is a promise; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is a proxy; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the RegExp type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Set type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the SetIterator type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is a string object; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is a symbol object; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the TypedArray type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Uint8Array type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Uint8ClampedArray type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Uint16Array type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the Uint32Array type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the WeakMap type; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the input value is of the WeakSet type; returns false otherwise. - |
-
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -Object of the worker thread used to communicate with the host thread. - |
-
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns the worker instance created; returns undefined if the worker instance fails to be created. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -ArrayBuffer instances that can be transferred. The transferList array cannot contain null. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -Callback to invoke when an event of the specified type occurs. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -Callback to invoke when an event of the specified type occurs. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -Callback to invoke when an event of the specified type occurs. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the event is dispatched successfully; returns false otherwise. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -ArrayBuffer instances that can be transferred. The transferList array cannot contain null. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -Timestamp (accurate to millisecond) when the event is created. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -- | -- | -- | -- | -
|---|---|---|---|---|
| - | -- | -- | -- | -- | -
| - | -WorkerGlobalScope & typeof globalThis - |
-- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -ArrayBuffer or DataView for storing the XML information to write. - |
-
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -Options for controlling and obtaining the parsed information. - |
-
| - | -- | -- | -- | -
|---|---|---|---|
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -- | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -
|---|---|
| - | -Returns true if the element is empty; returns false otherwise. - |
-
| - | -- | -
|---|---|
| - | -Returns true if the text event contains only whitespace characters; returns false otherwise. - |
-
| - | -- | -
|---|---|
| - | -- | -
| - | -- | -- | -
|---|---|---|
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -