UNPKG

matterbridge

Version:
44 lines 1.66 kB
/** * This file contains the deepEqual function. * * @file parameter.ts * @author Luca Liguori * @date 2025-02-16 * @version 1.0.0 * * Copyright 2025, 2026, 2027 Luca Liguori. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ /** * Retrieves the value of a command-line parameter. * * @param {string} name - The name of the parameter to retrieve. * @returns {string | undefined} The value of the parameter, or undefined if not found. */ export declare function getParameter(name: string): string | undefined; /** * Checks if a command-line parameter is present. * * @param {string} name - The name of the parameter to check. * @returns {boolean} True if the parameter is present, otherwise false. */ export declare function hasParameter(name: string): boolean; /** * Retrieves the value of a command-line parameter as an integer. * * @param {string} name - The name of the parameter to retrieve. * @returns {number | undefined} The integer value of the parameter, or undefined if not found or invalid. */ export declare function getIntParameter(name: string): number | undefined; //# sourceMappingURL=parameter.d.ts.map