Langium - v4.0.0
    Preparing search index...

    Function partialMatches

    • Determines whether the given input has a partial match with the specified regex.

      Parameters

      • regex: string | RegExp

        The regex to partially match against

      • input: string

        The input string

      Returns boolean

      Whether any match exists.