useArray | @tomic

Function useArray

  • useArray(resource: Resource, propertyURL: string, opts?: useValueOptions): [string[], setValue]
  • Hook for getting all URLs for some array. Returns the current Array (defaults to empty array) and a callback for validation errors. See useValue

    Parameters

    Returns [string[], setValue]