Up

_envPkgIsLoaded

Return if a package is loaded in a given channel.

Prototype :

fun [Chn S] I

Return : I 1 if loaded, 0 if not loaded. It returns nil if error.

Error :

See also :

Example :

fun main ()=
	_showconsole;
	
	_fooId _envPkgIsLoaded _channel "lib/test/core/a.pkg";		// 1
	_fooId _envPkgIsLoaded _channel "lib/std/list.pkg";		// 1
	_fooId _envPkgIsLoaded _masterchannel "lib/std/list.pkg";	// 0
	0;;

Note :