Constraints to be applied on mixedCase

Remarks

Since 1.17.0

Hierarchy

  • MixedCaseConstraints

Properties

toggleCase?: ((rawChar: string) => string)

Type declaration

    • (rawChar: string): string
    • Transform a character to its upper and/or lower case version

      Default Value

      try toUpperCase on the received code-point, if no effect try toLowerCase

      Remarks

      Since 1.17.0

      Parameters

      • rawChar: string

      Returns string

untoggleAll?: ((toggledString: string) => string)

Type declaration

    • (toggledString: string): string
    • In order to be fully reversable (only in case you want to shrink user definable values) you should provide a function taking a string containing possibly toggled items and returning its untoggled version.

      Parameters

      • toggledString: string

      Returns string

Generated using TypeDoc