Lisphp_Runtime_Predicate_Type::execute PHP Method

execute() protected method

protected execute ( array $arguments )
$arguments array
    protected function execute(array $arguments)
    {
        $function = "is_{$this->type}";
        foreach ($arguments as $value) {
            if (!$function($value)) {
                return false;
            }
        }
        return true;
    }
Lisphp_Runtime_Predicate_Type