• Find out if the string contains the argument at any position

    Example

    contains('javaScript & typescript', 'Typescript'); // true
    

    Example

    contains('javaScript & typescript', 'Typescript', true); // false
    

    Parameters

    • str: string
    • str2: string
    • Optional sensitive: boolean = false

    Returns boolean

Generated using TypeDoc