@willwade/aac-processors
Preparing search index...
ValidationRule
Interface ValidationRule
Custom validation rule that can be added
interface
ValidationRule
{
check
:
(
data
:
any
)
=>
boolean
|
Promise
<
boolean
>
;
description
:
string
;
errorMessage
?:
string
;
type
:
string
;
}
Index
Properties
check
description
error
Message?
type
Properties
check
check
:
(
data
:
any
)
=>
boolean
|
Promise
<
boolean
>
description
description
:
string
Optional
error
Message
errorMessage
?:
string
type
type
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
check
description
error
Message
type
@willwade/aac-processors
Loading...
Custom validation rule that can be added