CSVW RDF Convertor - Documentation
    Preparing search index...
    • Converts the input into an array. If the input is already an array, it is returned as-is. If the input is a single value, it is wrapped in an array. If the input is undefined, an empty array is returned.

      Type Parameters

      • T extends {}

        The type of the elements in the array.

      Parameters

      • input: undefined | T | T[]

        The value to coerce into an array. It can be a single value, an array of values, or undefined.

      Returns T[]

      An array of non-nullable elements of type T.