applyUserOpOverride

1function applyUserOpOverride<TValue>(value, override?): any;

Defined in: aa-sdk/core/src/utils/userop.ts:90

Utility method for applying a UserOperationOverrides field value over the current value set for the field

Type Parameters

Type Parameter

TValue extends any

Parameters

ParameterTypeDescription

value

TValue

the current value of the field

override?

any

the override value to apply

Returns

any

the new value of the field after applying the override