CSVW RDF Convertor - Documentation
    Preparing search index...
    • Validates a child object property, ensuring it is an object and applying a callback for further validation.

      Type Parameters

      • T extends object

        The type of the parent object.

      • K extends string | number | symbol

        The key of the child object property to validate.

      Parameters

      • obj: T

        The parent object containing the child property.

      • key: K

        The key of the child property to validate.

      • cb: (val: Required<T>[K], ctx: ValidationContext) => void

        A callback function to validate the child object.

      • ctx: ValidationContext

        The context containing an issue tracker to log validation warnings.

      Returns void