@univerjs/engine-formula v0.5.0-beta.1Docs


Class: AsyncObject

Extends

  • ObjectClassType

Constructors

new AsyncObject()

new AsyncObject(_promise): AsyncObject

Parameters

ParameterType
_promisePromise<BaseValueObject>

Returns

AsyncObject

Overrides

ObjectClassType.constructor

Defined in

submodules/univer/packages/engine-formula/src/engine/reference-object/base-reference-object.ts:603

Properties

PropertyTypeDefault valueInherited fromDefined in
patternstring''ObjectClassType.patternsubmodules/univer/packages/engine-formula/src/basics/object-class-type.ts:18

Methods

dispose()

dispose(): void

Returns

void

Inherited from

ObjectClassType.dispose

Defined in

submodules/univer/packages/engine-formula/src/basics/object-class-type.ts:20


getPattern()

getPattern(): string

Returns

string

Inherited from

ObjectClassType.getPattern

Defined in

submodules/univer/packages/engine-formula/src/basics/object-class-type.ts:24


getValue()

getValue(): Promise<BaseValueObject>

Returns

Promise<BaseValueObject>

Defined in

submodules/univer/packages/engine-formula/src/engine/reference-object/base-reference-object.ts:611


isArray()

isArray(): boolean

Returns

boolean

Inherited from

ObjectClassType.isArray

Defined in

submodules/univer/packages/engine-formula/src/basics/object-class-type.ts:52


isAsyncArrayObject()

isAsyncArrayObject(): boolean

Returns

boolean

Inherited from

ObjectClassType.isAsyncArrayObject

Defined in

submodules/univer/packages/engine-formula/src/basics/object-class-type.ts:44


isAsyncObject()

isAsyncObject(): boolean

Returns

boolean

Overrides

ObjectClassType.isAsyncObject

Defined in

submodules/univer/packages/engine-formula/src/engine/reference-object/base-reference-object.ts:607


isEqualType()

isEqualType(object): boolean

Parameters

ParameterType
objectObjectClassType

Returns

boolean

Inherited from

ObjectClassType.isEqualType

Defined in

submodules/univer/packages/engine-formula/src/basics/object-class-type.ts:60


isError()

isError(): boolean

Returns

boolean

Inherited from

ObjectClassType.isError

Defined in

submodules/univer/packages/engine-formula/src/basics/object-class-type.ts:36


isReferenceObject()

isReferenceObject(): boolean

Returns

boolean

Inherited from

ObjectClassType.isReferenceObject

Defined in

submodules/univer/packages/engine-formula/src/basics/object-class-type.ts:48


isValueObject()

isValueObject(): boolean

Returns

boolean

Inherited from

ObjectClassType.isValueObject

Defined in

submodules/univer/packages/engine-formula/src/basics/object-class-type.ts:56


setPattern()

setPattern(pattern): void

Only used in NumberValueObject

Parameters

ParameterType
patternstring

Returns

void

Inherited from

ObjectClassType.setPattern

Defined in

submodules/univer/packages/engine-formula/src/basics/object-class-type.ts:32