Discuss this page on this pages TalkPage

typMatches

Syntax (typMatches unid criteria)
Arguments unid: the unid to check
criteria: the criteria to check
Returns True if successful,Nil otherwise
Category type, unid
Description Checks if a type matches the criteria.

Example

(typMatches typeUNID "s")

Returns “True” if the type is a ship class unid.

Type Criteria

Return to type functions list

Return to Functions list