CSVW RDF Convertor - Documentation
    Preparing search index...
    • Validates an array property of an object, ensuring all elements meet a specified condition.

      Type Parameters

      • Obj

        The type of the object containing the array property.

      • Key extends string | number | symbol

        The key of the array property to validate.

      Parameters

      • object: Obj

        The object containing the array property.

      • key: Key

        The key of the array property to validate.

      • cb: (val: Exclude<ArrayKeys<Obj>[Key], undefined>, ctx: ValidationContext) => void

        A callback function to validate each element of the array.

      • ctx: ValidationContext

        The context containing an issue tracker to log validation warnings.

      Returns void