Function findSourceGroupBasedOnSeparator

  • Returns the length of the prefix of path that corresponds to the "group", according to the specified separator.

    If the separator is not specified, gueses whether it is '/' or ':'.

    Parameters

    • path: string
    • Optional separator: string

    Returns number

Generated using TypeDoc