fn: is_private
[contents]

Contents

Syntax

The syntax for is_private calls is:

f++:  
is_private(variable)

n++:  
@is_private(variable)

Description

The is_private function takes a single variable or function as a parameter and returns whether the variable or function is private.

f++ example

Example of is_private being used with f++:

:={private}(int, a)
:=(int, b)
console(is_private(a))
console(is_private(b))

n++ example

Example of is_private being used with n++:

@:={private}(int, a)
@:=(int, b)
@console(@is_private(a))
@console(@is_private(b))

Sponsors