HaxeFoundation / HaxeFoundation/haxe.org-comments

[code.haxe.org] Other - Passing different types to a function parameter

Open
#24 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# Passing different types to a function parameter - Other - Haxe programming language cookbook

Sometimes you find yourself in the need of passing different types to the same parameter of a function. While there isn't a built-in way of doing this in Haxe, thanks to its flexible type system, we can solve this problem. We will explore two ways to achieve this.

[https://code.haxe.org/category/other/passing-different-types-to-a-function-parameter.html](https://code.haxe.org/category/other/passing-different-types-to-a-function-parameter.html)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.