Preparing search index...
The search index is not available
CycloneDX JavaScript Library - Web - v6.7.2
CycloneDX JavaScript Library - Web
Validation
Types
Validator
Interface Validator
interface
Validator
{
validate
:
(
(
data
)
=>
Promise
<
any
>
)
;
}
Index
Properties
validate
Properties
validate
validate
:
(
(
data
)
=>
Promise
<
any
>
)
Promise completes with one of the following:
null
, when data was valid
something
representing the error details, when data was invalid
Promise rejects with one of the following:
NotImplementedError
, when there is no validator available
MissingOptionalDependencyError
, when a required dependency was not installed
Type declaration
(
data
)
:
Promise
<
any
>
Parameters
data
:
string
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
validate
CycloneDX JavaScript Library - Web - v6.7.2
Loading...
Promise completes with one of the following:
null
, when data was validPromise rejects with one of the following: