kind
kind copied to clipboard
Implement Kind::Array::Of(<Type>)
-
Kind::Array::Of(Type)
will create a callable that will verify if a given value is an array containing items with the expected type. -
Kind::Array.of(String, value)
will raiseKind::Error
when the given value wasn't an array containing items with the expected type. -
Kind::Array.of?(String, value)
will return true when the given value be an array containing items with the expected type.