• Performs bulk validation of data given an object, validationData, which describes all entries to test.

    Parameters

    • data: object

      The data object to test.

    • OptionalvalidationData: Record<string, ValidationEntry>

      Key is the accessor / value is a validation entry.

    • OptionaldataName: string

      Optional name of data.

    Returns any

    True if validation passes otherwise an exception is thrown.