Main Content

hasNext

Class: systemcomposer.rptgen.finder.RequirementLinkFinder
Namespace: systemcomposer.rptgen.finder

Determine if requirement link search result queue is nonempty

Since R2022b

Syntax

nonempty = hasNext(finder)

Description

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

Input Arguments

expand all

Requirement link finder, specified as a systemcomposer.rptgen.finder.RequirementLinkFinder object.

Output Arguments

expand all

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

Data Types: logical

Version History

Introduced in R2022b