useArray | @tomic
Function useArray
- use
Array(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
-
resource: Resource
-
propertyURL: string
-
Optionalopts: useValueOptions
Returns [string[], setValue]
-