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

Add assertion helpers for type checks #635

Closed
BernieWhite opened this issue Feb 8, 2021 · 0 comments · Fixed by #638
Closed

Add assertion helpers for type checks #635

BernieWhite opened this issue Feb 8, 2021 · 0 comments · Fixed by #638
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@BernieWhite
Copy link
Member

Type checks can be done with -is operator, but these can get verbose for complex conditions.

We should add $Assert helpers for common type checks to make these easier to author and maintain.

@BernieWhite BernieWhite added the enhancement New feature or request label Feb 8, 2021
@BernieWhite BernieWhite added this to the v1.1.0 milestone Feb 8, 2021
@BernieWhite BernieWhite self-assigned this Feb 8, 2021
BernieWhite added a commit to BernieWhite/PSRule that referenced this issue Feb 8, 2021
BernieWhite added a commit to BernieWhite/PSRule that referenced this issue Feb 8, 2021
@BernieWhite BernieWhite mentioned this issue Mar 1, 2021
4 tasks
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

Successfully merging a pull request may close this issue.

1 participant