CycloneDX JavaScript Library - Web - v9.4.0
Preparing search index...
Validation
Types
Validator
Interface Validator
interface
Validator
{
validate
:
(
data
:
string
)
=>
Promise
<
any
>
;
}
Index
Properties
validate
Properties
validate
validate
:
(
data
:
string
)
=>
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
Error
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
validate
CycloneDX JavaScript Library - Web - v9.4.0
Loading...
Promise completes with one of the following:
null, when data was validPromise rejects with one of the following: