@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
11 lines • 416 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
import { UnsupportedOperationError } from '../../business/errors/unsupported-operation-error.js';
export class KeyName {
constructor() {
throw new UnsupportedOperationError('This class cannot be instantiated');
}
static isArraySegment(segment) {
return segment && segment?.match(/^[0-9]+$/g)?.length > 0;
}
}
//# sourceMappingURL=key-name.js.map