Skip to content

add better search func in vocabulery docs #1

@Rafi-Riday

Description

@Rafi-Riday

This Func will accept search strings in any orders to be matched with target string

function search(str,src) {
    let state = true;
    if (state === false) return false;
    src.split('').forEach(s=>{
        str.includes(s) ? state = true : state = false;
    })
    return state;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions