Function requireDefinedParameter

  • Check if a parameter is defined. If not, it throws an error.

    Parameters

    • parameter: unknown

      Parameter to be checked.

    • parameterName: string

      Name of the parameter.

    Returns void

Generated using TypeDoc