ES3.KeyExists

public static bool KeyExists(string key, string filePath, ES3Settings settings)

Description

Checks whether a key exists in a file.

Parameters

key The key we want to check the existence of.

filePath

[Optional] The relative or absolute path of the file we want to search for the key.

settings

[Optional] The settings we want to use to override the default settings.

Returns

True if the key exists, or false if the key or file does not exist.

Examples

C#

JS