<commit_before>/**
 * @fileOverview This file has functions related to variable types.
 * @review isipka
 */

/**
 * Determine if a variable is set.
 * 
 * @static
 * @function 
 * @param v The variable to be checked.
 * @returns {boolean} 
 */
FM.isset = function(v) {
    return (typeof(v) != 'undefined');
}

/**
 * Determine if a variable is string.
 * 
 * @static
 * @function 
 * @param  v The variable to be checked.
 * @returns {boolean} 
 */
FM.isString = function(v) {
    return (typeof v == 'string' && v !== null);
}

/**
 * Determine if a variable is number.
 * 
 * @static
 * @function 
 * @param v The variable to be checked.
 * @returns {boolean} 
 */
FM.isNumber = function(v) {
    return !isNaN(parseFloat(v));
}
/**
 * Determine if a variable is number.
 * 
 * @static
 * @function 
 * @param v The variable to be checked.
 * @returns {boolean} 
 */
FM.isBoolean = function(v) {<commit_msg>doc branch merge<commit_after>/**
 * @fileOverview This file has functions related to variable types.
 * @review isipka
 */

/**
 * Determine if a variable is set.
 * 
 * @static
 * @function 
 * @param v The variable to be checked.
 * @returns {boolean} 
 */
FM.isset = function(v) {
    return (typeof(v) != 'undefined');
}

/**
 * Determine if a variable is string.
 * 
 * @static
 * @function 
 * @param  v The variable to be checked.
 * @returns {boolean} 
 */
FM.isString = function(v) {
    return (typeof v == 'string' && v !== null);
}

/**
 * Determine if a variable is number.
 * 
 * @static
 * @function 
 * @param v The variable to be checked.
 * @returns {boolean} 
 */
FM.isNumber = function(v) {
    return !isNaN(parseFloat(v));
}
/**
 * Determine if a variable is of boolean type.
 * 
 * @static
 * @function 
 * @param v The variable to be checked.
 * @returns {boolean} 
 */
FM.isBoolean = function(v) {
{'fraction_non_alphanumeric': 0.1515812431842966, 'fraction_numerical': 0.0, 'mean_word_length': 2.946236559139785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1150000', 'n_tokens_mistral': 615, 'n_tokens_neox': 580, 'n_words': 202}