Skip to content

rankWith

const rankWith: (rank, tester) => (uischema, schema, context) => number = JsonFormsCore.rankWith

Assigns a priority to a tester; rank above the built-ins to override a control.

Create a ranked tester that will associate a number with a given tester, if the latter returns true.

number

the rank to be returned in case the tester returns true

Tester

a tester

(uischema, schema, context) => number