Example Brick type 026

 

 

Description

These examples use the type function to check the AIS Data type of the argument.

 

Details

(define nameList (new Brick: 2 Name:Object:3)) Returns: #<Record 123456>

The argument is a Brick.

(type nameList) Returns: Brick

 

Related Examples

Here are examples of the type function at work.

BitVector type 021 Boolean type 011 Brick type 026 ByteVector type 022
Character type 012 Date type 014 Dictionary type 007 Directory type 008
FltVector type 016 Function type 015 IntVector type 017 Matrix type 010
NumMatrix type 025 NumVector type 018 Number type 013 ObjVector type 019
ObjectRepository type 024 Pair type 023 PcodeVector type 020 ShortVector type 018
String type 001 Structure type 003 Structure type 004 Structure type 005
Symbol type 002 Vector type 009 Void type 011

 

Function Links

Here is the link to the current function used in this example.

type

Here are a number of links to other related functions.

isObject(Brick) isType(Brick)

 

Argument Types

Here are the links to the data types of the arguments used in this example.

Brick

Here are a number of links to examples having similar argument types.

Brick addMethod 008 Brick cdr 010 Brick compare 019 Brick compareEQ 019
Brick compareGT 019 Brick compareLE 019 Brick compareLT 019 Brick compareNE 019
Brick comparison 019 Brick copy 012 Brick defmethod 025 Brick isAtom 011
Brick isEqual 018 Brick isIdentical 020 Brick isObject 014 Brick isType 022
Brick length 017 Brick methodsOf 024 Brick new 015 Brick ref 036
Brick send 027 Brick setCdr 014 Brick setq 029 Brick setq 28
Brick sizeof 029 Brick type 026

How do I contact the AIS Server team?

You can always talk with the AIS at aiserver.sourceforge.net.