[F] getPatchOptions
function getPatchOptions(program, operation): undefined | PatchOptions;Gets the PatchOptions for the given operation.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
program | Program | The program in which the operation occurs. |
operation | Operation | The operation. |
Returns
Section titled “Returns”undefined | PatchOptions
The PatchOptions for the operation, or undefined if none. If the operation is not a PATCH operation, this
function will always return undefined. If it is a PATCH operation, it may return undefined if no options were provided.