Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
serradura opened this issue Jan 5, 2020 · 0 comments
Open

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

serradura opened this issue Jan 5, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@serradura
Copy link
Owner

serradura commented Jan 5, 2020

  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 serradura added the enhancement New feature or request label Jan 5, 2020
@serradura serradura added this to the v1.x milestone Jan 5, 2020
@serradura serradura modified the milestones: 1.x, 2.x May 7, 2020
@serradura serradura modified the milestones: 2.x, 3.x Jun 25, 2020
@serradura serradura modified the milestones: 3.x, 4.x Jan 22, 2021
@serradura serradura changed the title Implement Kind.of.Array.with(<spec>) Implement Kind::Array.of(<Type>) Jan 22, 2021
@serradura serradura changed the title Implement Kind::Array.of(<Type>) Implement Kind::Array::Of(<Type>) Jan 22, 2021
@serradura serradura modified the milestones: 4.x, 5.x Feb 1, 2021
@serradura serradura modified the milestones: 5.x, 6.x Mar 3, 2021
@serradura serradura modified the milestones: 6.x, 5.x Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant