Functions Documentation
View Function Edit Function
Name isPrimitive
Syntax (isPrimitive expression) -> boolean
Argument List expression: the expression you want to test
Returns boolean: whether the expression is a primitive or not
Category function
Description This function checks if the given expression is a built in function (a "primitive") or a lambda. It is mostly used in debugging and exploration of tscript.
(isPrimitive objSetData) -> True
(isPrimitive (lambda nil ...)) -> Nil

Examples of a true and a false use. Note that the lambda in the second example is not completely correct