fn: valid_type
[contents]

Contents

Syntax

The syntax for valid_type calls is:

f++:  
valid_type(string)

n++:  
@valid_type(string)

Description

The valid_type function takes a single string parameter and returns whether the string is a valid type.

f++ example

Example of valid_type being used with f++:

console(valid_type("ofstream"))

n++ example

Example of valid_type being used with n++:

@console(@valid_type("ofstream"))