// 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