public static enum Restriction.Kind extends java.lang.Enum<Restriction.Kind>
Enum Constant and Description |
---|
FALSY
Value is falsy.
|
FUNCTION
Value is a function.
|
LOOSE_EQUAL
Value is loosely equal to the selected value.
|
LOOSE_NOT_EQUAL
Value is loosely not equal to the selected value.
|
NOT_NULL_UNDEF
Value is not null or undefined (or absent).
|
NOT_TYPEOF_FUNCTION
Type-of value is not "function".
|
NOT_TYPEOF_OBJECT
Type-of value is not "object".
|
NOT_TYPEOF_SYMBOL
Type-of value is not "symbol".
|
STRICT_EQUAL
Value is strictly equal to the selected value.
|
STRICT_NOT_EQUAL
Value is strictly not equal to the selected value.
|
TRUTHY
Value is truthy.
|
TYPEOF_FUNCTION
Type-of value is "function".
|
TYPEOF_OBJECT
Type-of value is "object".
|
TYPEOF_SYMBOL
Type-of value is "symbol".
|
Modifier and Type | Method and Description |
---|---|
static Restriction.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Restriction.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Restriction.Kind FALSY
public static final Restriction.Kind FUNCTION
public static final Restriction.Kind LOOSE_EQUAL
public static final Restriction.Kind LOOSE_NOT_EQUAL
public static final Restriction.Kind NOT_NULL_UNDEF
public static final Restriction.Kind NOT_TYPEOF_FUNCTION
public static final Restriction.Kind NOT_TYPEOF_OBJECT
public static final Restriction.Kind NOT_TYPEOF_SYMBOL
public static final Restriction.Kind STRICT_EQUAL
public static final Restriction.Kind STRICT_NOT_EQUAL
public static final Restriction.Kind TRUTHY
public static final Restriction.Kind TYPEOF_FUNCTION
public static final Restriction.Kind TYPEOF_OBJECT
public static final Restriction.Kind TYPEOF_SYMBOL
public static Restriction.Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Restriction.Kind[] values()
for (Restriction.Kind c : Restriction.Kind.values()) System.out.println(c);
Copyright © 2009-2019 Aarhus University