isA
Tests whether an object is a type or trait.
Target
Signature
1object->isA(name::tag)Tests whether an object is a type or trait.
isA is called with member syntax on a receiver value. isA belongs to the object model. Use type constraints to document the value you expect and member syntax when behavior naturally belongs to an object.
Parameters
name- Required value of type
tag. Supplynamepositionally unless the signature shows a keyword form.
Examples
Basic call
1'x'->isA(::string)The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.