• Splits string into an array of its words.

    Parameters

    • Optional string: string

      The string to inspect.

    • Optional pattern: string | RegExp

      The pattern to match words.

    Returns string[]

    Returns the words of string.

  • Parameters

    • string: string
    • index: string | number
    • guard: object

    Returns string[]

    See

    _.words

Generated using TypeDoc