Home > @infiniteobjects/data-types > HasDefaultBlockchain
Checks if the PrintButtonPlatformConfig.availableBlockchains
array has only one default blockchain.
Signature:
export declare function HasDefaultBlockchain(options?: ValidationOptions<IPrintButtonPlatformConfig>): PropertyDecorator;
Parameter | Type | Description |
---|---|---|
options | ValidationOptions<IPrintButtonPlatformConfig> | (Optional) |
Returns:
PropertyDecorator