Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
type/assignable - check if an object can be assigned to
Calling Sequence
type(expr, assignable)
type(expr, assignable(t))
Parameters
expr
-
any expression
t
type
Description
The function type(expr, 'assignable') returns true if the expression expr can be assigned to; otherwise, it returns false.
If the parameter t is included, it checks that expr is also of that type.
An expression is assignable if one of the following is true:
- It is a symbol and it is not protected.
- It is of type indexed and its zeroth operand is either assignable or a table or an rtable.
- It is of type function and its zeroth operand is assignable.
Examples
See Also
type, type/function, type/indexed, type/name, type/rtable, type/symbol, type/table
Download Help Document