WordPress\AiClient\Common\Contracts
WithArrayTransformationInterface::isArrayShape
Checks if the array is a valid shape for this object.
Method of the class: WithArrayTransformationInterface{}
No Hooks.
Returns
true|false. True if the array is a valid shape.
Usage
$result = WithArrayTransformationInterface::isArrayShape( $array ): bool;
- $array(array
) (required) - The array to check.
Changelog
| Since 0.1.0 | Introduced. |
WithArrayTransformationInterface::isArrayShape() WithArrayTransformationInterface::isArrayShape code WP 7.0
public static function isArrayShape(array $array): bool;