isType
|
The isType function is a predicate which returns true if the argument
{obj} is a of type {name};
otherwise, the predicate returns false.
Usage The isType function is used to query an object if it is of any native type.
The isType is equivalent to: ( = typeName: (type obj) ) The isType function can be used to query an object if it is of type void.
Any uninitialized variable will always be type void . The isType function can be used to query an object if it is of type Boolean. The isType function can be used to query an object if it is of type Character. The isType function can be used to query an object if it is of type Number, Integer, or Money. The isType can be used to query an object if it has type Date. The isType can be used to query an object if it has type Function. The isType can be used to query an object if it has type Complex. The isType can be used to query an object if it has type ObjectRepository.Void
Boolean
Character
Number
Date
Function
Complex
ObjectRepository
(isType typeName obj) If the argument is of the specified type, true is returned. Otherwise,it false is returned.
Expression:
Arguments
Name
Type
Description Argument: typeName Symbol
Any Analytic Information Server object type. Argument: obj Character, String, Symbol, Vector, BitVector, ByteVector, IntVector, Boolean
FltVector, ObjVector, Structure, Dictionary, Directory, Pair, Function, List,
ShortVector, Matrix, NumMatrix, Integer, Float, Number, Complex, Brick, Void, Date, ObjecRepository
Any Analytic Information Server object.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|