HOME


Mini Shell 1.0
DIR: /var/www/rhodeworks/wp-content/plugins/really-simple-ssl/settings/src/utils/
Upload File :
Current File : /var/www/rhodeworks/wp-content/plugins/really-simple-ssl/settings/src/utils/lib.js
export const in_array = (needle, haystack) => {
    let length = haystack.length;
    for(let i = 0; i < length; i++) {
        if( haystack[i] == needle ) return true;

    }
    return false;
}

export const errorMsg = (error) => {
    let length = haystack.length;
    for(let i = 0; i < length; i++) {
        if( haystack[i] == needle ) return true;

    }
    return false;
}