Is

enum Is : Enum<Is> (source)

The value types the is operation matches, which are the eight the API documents. A value type it may add later is reachable by writing the parameter out with Query.parameter, e.g. parameter("filter_query[categories][is]", "<its name>").

Entries

Link copied to clipboard

The field has no value.

Link copied to clipboard

The field has a value.

Link copied to clipboard

The boolean field is true.

Link copied to clipboard

The boolean field is false.

Link copied to clipboard

The multi-value field holds no entries.

Link copied to clipboard

The multi-value field holds at least one entry.

Link copied to clipboard

The field is absent from the content.

Link copied to clipboard

The field is present in the content.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): Is

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Is>

Returns an array containing the constants of this enum type, in the order they're declared.