kind icon indicating copy to clipboard operation
kind copied to clipboard

Implement Kind::Array::Of(<Type>)

Open serradura opened this issue 4 years ago • 0 comments

  1. Kind::Array::Of(Type) will create a callable that will verify if a given value is an array containing items with the expected type.
  2. Kind::Array.of(String, value) will raise Kind::Error when the given value wasn't an array containing items with the expected type.
  3. Kind::Array.of?(String, value) will return true when the given value be an array containing items with the expected type.

serradura avatar Jan 05 '20 02:01 serradura