# Function getQueryOrOption

- getQueryOrOption(propertyName): string

- Get a string value either from the query string (first priority) or from the options object (second priority)

  NOTICE: often the query param's property name differs from the options object's property name so be aware. Going forward it's easier if they are the same. See QUERY_STRING_DOC_SELECTED for an example.

  #### Parameters

  - propertyName: string

  #### Returns string

  - Defined in jslib/src/lib/ServerApi/TestingRouteOverrides.ts:35