Modules/FileSystem/type: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ This function returns the type of the given Eir FileSystem object. ==Syntax== <syntaxhighlight lang="lua"> string fsnamespace.type( userdata obj ) </syntaxhighlight> ==Arguments== *'''obj''': the Eir FileSystem object to retrieve the type from ==Returns== This function returns the type string of the queried object, false if not successful. For destroyed objects the return value is always false. ===Possible Return Values=== *file *file-translator ==Example=...")
 
No edit summary
 
Line 1: Line 1:
<pageclass class="#e36242" subcaption="Namespace function"></pageclass>
__NOTOC__
__NOTOC__
This function returns the type of the given Eir FileSystem object.
This function returns the type of the given Eir FileSystem object.

Latest revision as of 04:02, 23 January 2022

This function returns the type of the given Eir FileSystem object.

Syntax

string fsnamespace.type( userdata obj )

Arguments

  • obj: the Eir FileSystem object to retrieve the type from

Returns

This function returns the type string of the queried object, false if not successful. For destroyed objects the return value is always false.

Possible Return Values

  • file
  • file-translator

Example

-- TODO

FileSystem Namespace Functions