JavaScriptObjectKind Enumeration |
Defines JavaScript object kinds.
Namespace: Microsoft.ClearScript.JavaScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntaxpublic enum JavaScriptObjectKind
Public Enumeration JavaScriptObjectKind
public enum class JavaScriptObjectKind
type JavaScriptObjectKind
Members| Member name | Value | Description |
|---|
| Unknown | 0 |
Indicates that the object is generic or of an unknown kind.
|
| Function | 1 |
Indicates that the object is a
function.
|
| Iterator | 2 |
Indicates that the object is an
iterator.
|
| Promise | 3 |
Indicates that the object is a
promise.
|
| Array | 4 |
Indicates that the object is an
array
and implements
IList.
|
| ArrayBuffer | 5 |
Indicates that the object is an
ArrayBuffer
and implements IArrayBuffer.
|
| DataView | 6 |
Indicates that the object is a
DataView
and implements IDataView.
|
| TypedArray | 7 |
Indicates that the object is a
typed array
and implements ITypedArrayT.
|
See Also