Type.isEnum Method

Indicates whether the specified type is an enumeration.

public static function isEnum(
    type : Object
) : Boolean

Parameters

Parameter

Description

type

The type to test.

Return Value

true if the type is an enumeration; otherwise, false.

See Also

Reference

Type Class