Function groupsMatch

  • Determines if the supplied group or group(s) are found in both parameters. When either parameter is '', '*', empty array, null or undefined, it means to match everything and this function returns true. Otherwise, it returns true only when a group name is found amongst both group parameters.

    Parameters

    • group1: undefined | null | string | string[]

      group name(s) to compare against group2

    • group2: undefined | null | string | string[]

    Returns boolean

Generated using TypeDoc v0.25.12