$formsisForm()

Given a form ID or name, returns true if is used by a form, false if not

Usage

$bool = $forms->isForm($id);

Arguments

NameType(s)Description
$idint string

May be form ID or form name

Return value

bool


$forms methods and properties

API reference based on ProcessWire core version 3.0.251