Does this template have the given Field?
Usage
$bool = $template->hasField($name);
Arguments
Name | Type(s) | Description |
---|---|---|
name | string, int, Field | May be field name, id or object. |
Return value
bool
Template methods and properties
API reference based on ProcessWire core version 3.0.236