sm.json.fileExists

Checks if a json file exists at the input path

Kind: Function

Environments: Game, Terrain

Game

sm.json.fileExists( path )

Open the full Game reference

Parameters:

Name Type Description
path string The json file path.

Returns:

Type Description
boolean Return true if the file exists.

Terrain

sm.json.fileExists( path )

Open the full Terrain reference

Parameters:

Name Type Description
path string The json file path.

Returns:

Type Description
boolean Return true if the file exists.