src/Helpers/FormHelper.php
public function isCheckbox($key)
    {
        $fieldMeta = $this->getMeta();
        return isset($fieldMeta[$key]) && $fieldMeta[$key]->type === 'checkbox';
    }
public function isCheckbox($key)
    {
        $fieldMeta = $this->getMeta();
        return isset($fieldMeta[$key]) && $fieldMeta[$key]->type === 'checkbox';
    }
public function isCheckbox ( $ key ) { $ fieldMeta = $ this -> getMeta ( ) ; return isset ( $ fieldMeta [ $ key ] ) && $ fieldMeta [ $ key ] -> type === 'checkbox' ; }
Indicates whether the given key defines a checkbox field.

@param string $key
The name of the field.

@return bool
Whether the given key defines a checkbox field.
Indicates whether the given key defines a checkbox field .