Browse: Home / Classes /

Is_Array

Is_Array

Validation rule to ensure a value is an array.


Description #


Source #

File: src/Core/Validations/Rules/Is_Array.php


Changelog #

Changelog
Version Description
4.21.1 Introduced.


Methods #

  • __invoke — Validates that the value is an array.
  • fromString — Creates a new instance of the validation rule from a string.
  • id — Returns the unique identifier for the validation rule.
  • serializeOption — Returns a serializable representation of the validation rule options.