/*
 * Copyright (c) 2023-2025 Datalayer, Inc.
 * Distributed under the terms of the Modified BSD License.
 */
/**
 * Utility function to format strings
 */
export const formatString = (input) => {
    return input.trim().toLowerCase();
};
/**
 * Utility function to add numbers
 */
export const addNumbers = (a, b) => {
    return a + b;
};
/**
 * Utility function to check if a value is defined
 */
export const isDefined = (value) => {
    return value !== undefined && value !== null;
};
/**
 * Utility function to delay execution
 */
export const delay = (ms) => {
    return new Promise(resolve => setTimeout(resolve, ms));
};
