Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IIsCustomOptions

Hierarchy

Index

Properties

Methods

Properties

Optional message

message: undefined | string

Custom error message if test fails. (check Rule.formatMessage for more customization details)

Methods

check

  • Function to check if the value should be allowed. Returns the string error if any, otherwise returns false or undefined.

    Parameters

    Returns undefined | false | string

Generated using TypeDoc