Element::is_evaluable()

Checks whether the element is evaluable.

Description

See also

Return

(bool) True if the element is evaluable, false otherwise.

Source

File: src/db-objects/elements/element.php

	public function is_evaluable() {
		$element_type = $this->get_element_type();
		if ( ! $element_type ) {
			return false;
		}

		return is_a( $element_type, Choice_Element_Type_Interface::class );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.