API Reference › Globals › VariantArray
# Class: VariantArray
# Hierarchy
-
↳ VariantArray
# Index
# Methods
# Methods
# clone
▸ clone(index
: number): EmsArray‹KernelVariant›
Defined in packages/typings/ems.ts:7
Parameters:
Name | Type |
---|---|
index | number |
Returns: EmsArray‹KernelVariant›
# delete
▸ delete(index
: number): void
Inherited from EmsArray.delete
Defined in packages/typings/ems.ts:8
Parameters:
Name | Type |
---|---|
index | number |
Returns: void
# deleteLater
▸ deleteLater(index
: number): void
Inherited from EmsArray.deleteLater
Overrides EmsArray.deleteLater
Defined in packages/typings/ems.ts:9
Parameters:
Name | Type |
---|---|
index | number |
Returns: void
# get
▸ get(index
: number): KernelVariant
Defined in packages/typings/ems.ts:2
Parameters:
Name | Type |
---|---|
index | number |
Returns: KernelVariant
# isAliasOf
▸ isAliasOf(index
: number): boolean
Inherited from EmsArray.isAliasOf
Defined in packages/typings/ems.ts:10
Parameters:
Name | Type |
---|---|
index | number |
Returns: boolean
# isDeleted
▸ isDeleted(index
: number): boolean
Inherited from EmsArray.isDeleted
Defined in packages/typings/ems.ts:11
Parameters:
Name | Type |
---|---|
index | number |
Returns: boolean
# push_back
▸ push_back(element
: KernelVariant): void
Inherited from EmsArray.push_back
Defined in packages/typings/ems.ts:3
Parameters:
Name | Type |
---|---|
element | KernelVariant |
Returns: void
# resize
▸ resize(from
: number, to
: number): void
Inherited from EmsArray.resize
Defined in packages/typings/ems.ts:4
Parameters:
Name | Type |
---|---|
from | number |
to | number |
Returns: void
# set
▸ set(index
: number, element
: KernelVariant): KernelVariant
Defined in packages/typings/ems.ts:5
Parameters:
Name | Type |
---|---|
index | number |
element | KernelVariant |
Returns: KernelVariant
# size
▸ size(): number
Defined in packages/typings/ems.ts:6
Returns: number