# @param {Function} \[errorHandlingCallback\] to nominate expected parameters

**URL:** <https://forum.servoy.com/t/param-function-errorhandlingcallback-to-nominate-expected-parameters/23899>\
**Category:** Questions\
**Created:** [March 17, 2025, 10:40pm UTC](https://forum.servoy.com/t/param-function-errorhandlingcallback-to-nominate-expected-parameters/23899 "2025-03-17T22:40:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@roddy](https://forum.servoy.com/u/roddy)\
**Post date:** [March 17, 2025, 10:40pm UTC](https://forum.servoy.com/t/param-function-errorhandlingcallback-to-nominate-expected-parameters/23899/1 "2025-03-17T22:40:27Z")

</div>

When providing annotation to the parameters of a function, can the parameters be provided to the Function in the same way the type can be allocated to an Array?

For example, something similar to:  
@param {Function\<String, Number\>} [errorHandlingCallback]

---

<div class="post-metadata">

**Author:** ![seain](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/seain/32/4511_2.png) [@seain](https://forum.servoy.com/u/seain)\
**Post date:** [March 19, 2025, 2:09am UTC](https://forum.servoy.com/t/param-function-errorhandlingcallback-to-nominate-expected-parameters/23899/2 "2025-03-19T02:09:44Z")

</div>

Yes, here’s an example used by Servoy:

> <https://github.com/Servoy/svyPopupFilter/blob/master/svyPopupFilter/forms/AbstractPopupFilter.js#L75>

---

<div class="post-metadata">

**Author:** ![roddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@roddy](https://forum.servoy.com/u/roddy)\
**Post date:** [March 19, 2025, 3:47am UTC](https://forum.servoy.com/t/param-function-errorhandlingcallback-to-nominate-expected-parameters/23899/3 "2025-03-19T03:47:48Z")

</div>

Thanks so much 😄 ; really appreciate the response.
