FieldP
FieldP[]⟹pattern
returns a pattern which matches a field of any defined type.
FieldP[type]⟹pattern
returns a pattern which matches a field of the defined type.
FieldP[Object]⟹pattern
returns a pattern which matches a field of any Object type.
FieldP[Model]⟹pattern
returns a pattern which matches a field of any Model type.
Details
Input
Output
General Options
Examples
Basic Examples (4)
Additional Examples (6)
Does not evaluate if not given an expression in the form of an Object/Model type:
Returns a pattern that matches any fields of any defined Model types:
Returns a pattern that does not match any Object fields, only Model fields:
Returns a pattern that matches any fields of any defined Object types:
Returns a pattern that matches any fields in any of the given types:
Returns a pattern that does not match any Model fields, only Object fields: