Function getWords

  • Splits string into an array of its words.

    Since

    1.1.0

    Parameters

    • str: string = ""
    • Optional pattern: RegExp

    Returns RegExpMatchArray | []

Generated using TypeDoc