Function me::ChildTypeAllowed(runtimeId, newType)

me::ChildTypeAllowed

The function me::ChildTypeAllowed returns 1 if a child of type newType can be added as a child to runtime identifier runtimeId..

me::ChildTypeAllowed(
        runtimeId,  ! (input) an element
        newType     ! (input) an element
)

Arguments

runtimeId

An element in the set AllIdentifiers referencing a runtime identifier.

newType

An element in the set AllIdentifierTypes.

Return Value

Returns 1 if the identifier of type newType can be added as a child to identifier runtimeId. When runtimeId doesn’t reference a runtime identifier an error will be raised.

See also

The functions me::Create and me::Move.