Main Content

hasNext

Class: systemcomposer.rptgen.finder.RequirementSetFinder
Namespace: systemcomposer.rptgen.finder

Determine if requirement set search result queue is nonempty

Since R2022b

Syntax

nonempty = hasNext(finder)

Description

nonempty = hasNext(finder) determines whether the RequirementSet search result queue is nonempty.

Input Arguments

expand all

Requirement set finder, specified as a systemcomposer.rptgen.finder.RequirementSetFinder object.

Output Arguments

expand all

Whether queue is nonempty, returned as 1 (true) or 0 (false).

Data Types: logical

Version History

Introduced in R2022b