rest_validate_array_contains_unique_items


rest_validate_array_contains_unique_items ( $input_array )

Parameters:
  • (array) input_array The array to check.
Returns:
  • (bool) True if the array contains unique items, false otherwise.
Defined at:

Description

Checks if an array is made up of unique items.

Related Functions

rest_validate_array_value_from_schema, rest_validate_boolean_value_from_schema, rest_validate_request_arg, rest_validate_string_value_from_schema, rest_handle_options_request

Top Google Results

User discussions

wpseek mobile