# Question about " function myfunction():Void { "

**URL:** <https://forum.kirupa.com/t/question-about-function-myfunction-void/224579>\
**Category:** Uncategorized\
**Created:** [May 3, 2007, 12:30pm UTC](https://forum.kirupa.com/t/question-about-function-myfunction-void/224579 "2007-05-03T12:30:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmarsh](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jmarsh](https://forum.kirupa.com/u/jmarsh)\
**Post date:** [May 3, 2007, 12:30pm UTC](https://forum.kirupa.com/t/question-about-function-myfunction-void/224579/1 "2007-05-03T12:30:32Z")

</div>

I am still delving into AS, and there are a few concepts that still confuse me a little bit.

I looked up what “void” meant in the Adobe Flash AS dictionary. I understand that when an expression is wrapped in the void function, it marks it as undefined.

However, while dissecting this one flash file, I noticed a function written out in this syntax:

```auto

function functionName(v:Boolean):Void {
    //function instructions here
}

```

Now, I know that the “v:Boolean” part is basically taking the value and giving a Boolean datatype. I am a little confused about the usage of the :Void afterwards. What is the point of this syntax?

Thanks,

Jen
