ChemPal Documentation - v1.6.0
    Preparing search index...

    Module utils/typeGuards/synthetika

    Functions - Typeguards

    isSynthetikaSearchResponse

    This can be used to check if a SynthetikaSearchResponse is valid

    assertIsSynthetikaSearchResponse

    This can be used to check if a SynthetikaSearchResponse is valid

    isSynthetikaProduct

    This can be used to typeguard a SynthetikaProduct

    isSynthetikaProductPrice

    This can be used to typeguard the .price.gross and .price.net fields of a SynthetikaProduct

    assertIsSynthetikaProductPrice

    This can be used to verify the .price.gross and .price.net fields of a SynthetikaProduct