UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

24 lines (17 loc) 492 B
// SPDX-License-Identifier: Apache-2.0 import {type Facade} from './facade.js'; export class StringFacade implements Facade<string> { public constructor(public readonly encapsulatedObject: string) {} public equals(other: StringFacade): boolean { if (this === other) { return true; } if (!other) { return false; } return this.encapsulatedObject === other.encapsulatedObject; } public toString(): string { return this.encapsulatedObject; } }