ecl-logo Documentation

FieldQ

FieldQ[expression]bool

returns True if expression is a field in a defined type.

Details

    Input
    Output
    General Options
    Attributes
  • HoldFirst

Examples

Basic Examples  (4)

Returns True if given Object field exists in a type:

Returns True if given indexed Object field exists in a type:

Returns False if given Model field does not exist:

Returns False if not given a proper field expression:

Additional Examples  (3)

Returns True if given Model field exists in a type:

Returns False if given Object field does not exist:

Returns False if field exists but index does not:

Options  (8)

Links  (4)

Match nested link fields:

Does not match nested fields if Links option is not true:

Can match several layers of nesting:

Can mix in Part for grouped or named multiple fields:

Output  (4)

Match on a short field:

Does not match full field if Output->Short:

Match on a full field:

Does not match short field if Output->Full: