{"size": 239, "ext": "js", "max_stars_repo_path": "lib/utils/isFunction.js", "max_stars_repo_name": "adametsofficial/shadow-components", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/utils/isFunction.js", "max_issues_repo_name": "adametsofficial/shadow-components", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/utils/isFunction.js", "max_forks_repo_name": "adametsofficial/shadow-components", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.9, "max_line_length": 68, "alphanum_fraction": 0.5020920502}
export function isFunction(str) {
    const mathing_1 = str.match('\\((.*)\\)(.*)=>(.*){(.*)}');
    const mathing_2 = str.match('function(.*)\\((.*)\\)(.*){(.*)}');

    if (mathing_1 || mathing_2)
        return true

    return false
}
