Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 622 Bytes

efw.contains.md

File metadata and controls

25 lines (20 loc) · 622 Bytes

efw.contains

The contains function is established to check whether a key has been registered into efw.

Sample

if (!efw.contains("PDFLib")){
	load(_eventfolder+"/pdf-lib.min.js");
	load(_eventfolder+"/fontkit.umd.min.js");
	efw.register("PDFLib");
	efw.register("fontkit");
};

API

CallingReturning
efw . contains ( key )boolean
ParametersTypeDescription
keyStringThe name of the global variable to be registered.