is_automator_error( mixed $thing )

Check if thing is an error


Parameters Parameters

$thing

(Required)


Top ↑

Return Return

(bool)


Source Source

File: src/global-functions.php

function is_automator_error( $thing ): bool {
	return $thing instanceof Automator_WP_Error;
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0 Introduced.