$fieldsisNative()

Is the given field name native/permanent to the database?

Such fields are disallowed from being used for custom field names.

Usage

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

Arguments

NameType(s)Description
$namestring

Field name you want to check

Return value

bool

True if field is native (and thus should not be used) or false if it's okay to use


$fields methods and properties

API reference based on ProcessWire core version 3.0.251