Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

is_member (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: membership

Requires: MathScript RT Module

Syntax

c = is_member(a, b)

Legacy Name: isa

Description

Determines whether a variable is a member of a specified class.

Details

Examples

Inputs

Name Description
a Specifies a variable.
b Specifies a class. b is a string that accepts the following values: 'char', 'double', 'int8', 'int16', 'int32', 'int64', 'numeric', 'single', 'uint8', 'uint16', 'uint32', and 'uint64'. LabVIEW modules and toolkits you have installed might provide additional data types.

Outputs

Name Description
c Returns 1 if a is a member of b. Otherwise, this function returns 0. c is a Boolean.

Details

If you call this function from a MathScript Node, LabVIEW operates with slower run-time performance for the MathScript Node. To optimize the performance of the MathScript Node, remove this function from scripts.

Examples

A = 12.4+34
C = is_member(A, 'double')

Related Topics

datatype
is_char
is_logical
is_numeric
is_real


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit