geoview-core
    Preparing search index...

    Function findPropertyByRegexPath

    • Find an object property by regex values. The find is case insensitive.

      Type Parameters

      • T = Record<string, unknown>

      Parameters

      • objectItem: unknown

        The object to search in.

      • patterns: RegExp | RegExp[]

        A single RegExp or an array of RegExp patterns to match in sequence.

      Returns T | undefined

      The value found at the end of the matching path, or undefined if not found.