Type declaration
exit: ((completion?: Completion) => void)
- (completion?): void
Returns void
getAmountAllocated: (<B>(keyword: Keyword, brand?: B) => B extends Brand<infer K>
? Amount<K>
: Amount)
getCurrentAllocation: (() => Allocation)
hasExited: (() => boolean)
- (): boolean
Returns boolean
isOfferSafe: ((newAllocation: Allocation) => boolean)
- (newAllocation): boolean
Returns boolean
used for filling in an empty amount if the
keyword
is not present in the allocation