API Reference
@univerjs
@univerjs/engine-formula
classes
Asyncobject

@univerjs/engine-formula v0.4.2Docs


Class: AsyncObject

Extends

  • ObjectClassType

Constructors

new AsyncObject()

new AsyncObject(_promise): AsyncObject

Parameters

ParameterType
_promisePromise<BaseValueObject>

Returns

AsyncObject

Overrides

ObjectClassType.constructor

Defined in

packages/engine-formula/src/engine/reference-object/base-reference-object.ts:603 (opens in a new tab)

Properties

PropertyTypeDefault valueInherited fromDefined in
patternstring''ObjectClassType.patternpackages/engine-formula/src/basics/object-class-type.ts:18 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Inherited from

ObjectClassType.dispose

Defined in

packages/engine-formula/src/basics/object-class-type.ts:20 (opens in a new tab)


getPattern()

getPattern(): string

Returns

string

Inherited from

ObjectClassType.getPattern

Defined in

packages/engine-formula/src/basics/object-class-type.ts:24 (opens in a new tab)


getValue()

getValue(): Promise<BaseValueObject>

Returns

Promise<BaseValueObject>

Defined in

packages/engine-formula/src/engine/reference-object/base-reference-object.ts:611 (opens in a new tab)


isArray()

isArray(): boolean

Returns

boolean

Inherited from

ObjectClassType.isArray

Defined in

packages/engine-formula/src/basics/object-class-type.ts:52 (opens in a new tab)


isAsyncArrayObject()

isAsyncArrayObject(): boolean

Returns

boolean

Inherited from

ObjectClassType.isAsyncArrayObject

Defined in

packages/engine-formula/src/basics/object-class-type.ts:44 (opens in a new tab)


isAsyncObject()

isAsyncObject(): boolean

Returns

boolean

Overrides

ObjectClassType.isAsyncObject

Defined in

packages/engine-formula/src/engine/reference-object/base-reference-object.ts:607 (opens in a new tab)


isEqualType()

isEqualType(object): boolean

Parameters

ParameterType
objectObjectClassType

Returns

boolean

Inherited from

ObjectClassType.isEqualType

Defined in

packages/engine-formula/src/basics/object-class-type.ts:60 (opens in a new tab)


isError()

isError(): boolean

Returns

boolean

Inherited from

ObjectClassType.isError

Defined in

packages/engine-formula/src/basics/object-class-type.ts:36 (opens in a new tab)


isReferenceObject()

isReferenceObject(): boolean

Returns

boolean

Inherited from

ObjectClassType.isReferenceObject

Defined in

packages/engine-formula/src/basics/object-class-type.ts:48 (opens in a new tab)


isValueObject()

isValueObject(): boolean

Returns

boolean

Inherited from

ObjectClassType.isValueObject

Defined in

packages/engine-formula/src/basics/object-class-type.ts:56 (opens in a new tab)


setPattern()

setPattern(pattern): void

Only used in NumberValueObject

Parameters

ParameterType
patternstring

Returns

void

Inherited from

ObjectClassType.setPattern

Defined in

packages/engine-formula/src/basics/object-class-type.ts:32 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.