Skip to main content

IModel.Is method

Namespace: NextDesign.Core

Description

Checks if this instance is an instance of the specified class. Returns True for instances of the specified class

argument

NameTypeDescription
classNamestringclass name
Specify the name of the class or the fully qualified name.
If null or an empty string is specified, this method will be evaluated as False.
If the class with the specified name is not found, the evaluation of this method will be False.
fuzzyboolclassName Whether to treat the argument as a class name rather than a fully qualified name.
If False, evaluate as specifying a class whose fully qualified name matches className.
If True, evaluate as specifying a class whose class name matches className.
If there are multiple cases, and if it is an instance of any one of them, the evaluation of this method is True.

The default value is True.

Return value

  • bool