$fieldsfieldNameExists()

Does given field name exist as a custom field?

This is for situations where you need to perform a quick test without lazy loading.

Available since version 3.0.258.

Usage

$bool = $fields->fieldNameExists(string $name);

Arguments

NameType(s)Description
$namestring

Return value

bool


$fields methods and properties

API reference based on ProcessWire core version 3.0.257