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

randomCount on random.Shuffle should indicate what happens when decimals are passed. #154

Open
seivan opened this issue Feb 26, 2021 · 0 comments
Labels
area/docs Improvements or additions to documentation kind/enhancement Improvements or new features

Comments

@seivan
Copy link

seivan commented Feb 26, 2021

Since the TypeScript teams keeps resisting adding separate types for integers and floats for type checking on the basis that runtime does not have them, even though JS has neither types nor interfaces this means it's a documentation problem.

I don't see it documented what happens when you pass 2.5 as an argument and there is no floor/ceil calls in the code

* The number of results to return. Defaults to
* the number of items in the `input` list. If fewer items are requested,
* some elements will be excluded from the result. If more items are requested,
* items will be repeated in the result but not more frequently than the number
* of items in the input list.
*/
readonly resultCount?: pulumi.Input<number>;

@leezen leezen added kind/enhancement Improvements or new features area/docs Improvements or additions to documentation labels Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Improvements or additions to documentation kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants