CycloneDX JavaScript Library - Web - v9.4.0
    Preparing search index...

    Interface Validator

    interface Validator {
        validate: (data: string) => Promise<any>;
    }
    Index

    Properties

    Properties

    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: