Function pruneDefaults

  • Any parameter whose value is same as the default defined in the schema will be pruned and not returned.

    Unless parameter is required, then it will always be kept.

    Parameters

    • parameters: IParameters
    • schema: JSONSchema7
    • reshapeArray: boolean = false

    Returns IParameters

Generated using TypeDoc