ecl-logo Documentation

SingleFieldQ

SingleFieldQ[definition]bool

returns True if the field definition is a Single field.

SingleFieldQ[rule]bool

returns True if the field definition given by rule is a Single field.

SingleFieldQ[field]bool

returns True if the given field is a Single field.

Details

    Input
    Output

Examples

Basic Examples  (5)

Returns True if given a field definition with Format -> Single and Class -> Except[_List]:

Returns False if given a field definition rule with Format -> Computable:

Returns True if given a field definition rule with Format -> Single and Class -> Except[_List]:

Returns False if given a Multiple field:

Returns True if given a Single field:

Additional Examples  (1)

Returns False if given a field that does not exist: