WordPress\AiClient\Common\Contracts

WithArrayTransformationInterface::isArrayShapepublic staticWP 0.1.0

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() code WP 7.0

public static function isArrayShape(array $array): bool;