[F] getPatchOptions
function getPatchOptions(program, operation): PatchOptions | undefined
Gets the PatchOptions
for the given operation.
Parameters
Parameter | Type | Description |
---|---|---|
program | Program | The program in which the operation occurs. |
operation | Operation | The operation. |
Returns
PatchOptions
| undefined
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.