rest_validate_array_contains_unique_items


rest_validate_array_contains_unique_items ( $array )

Parameters:
  • (array) 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_string_value_from_schema, rest_validate_request_arg, rest_validate_boolean_value_from_schema, rest_validate_value_from_schema

Top Google Results

User discussions

wpseek mobile