• Preparing search index...
  • The search index is not available
@umbraco-cms/backoffice
  • @umbraco-cms/backoffice
  • packages/core/validation
  • GetValueByJsonPath

Function GetValueByJsonPath

  • GetValueByJsonPath<ReturnType = unknown>(
        data: unknown,
        path: string,
    ): undefined | ReturnType

    Type Parameters

    • ReturnType = unknown

    Parameters

    • data: unknown

      object to traverse for the value.

    • path: string

      the JSON path to the value that should be found

    Returns undefined | ReturnType

    • the found value.
    • Defined in src/packages/core/validation/utils/json-path.function.ts:7

Settings

Member Visibility
@umbraco-cms/backoffice
  • Loading...

Generated using TypeDoc