IsBIF(name)
Last updated September 26, 2001
Version: 1 | Requires: CF5 | Library: UtilityLib
	Description: 
	This UDF checks to see if a particular string exists as a BIF (built in function).
	Return Values: 
	Returns a boolean.
Example:
<CFSET Good = "arraylen">
<CFSET Bad = "victor">
<CFOUTPUT>
Is #Good# a BIF? #IsBif(Good)#<BR>
Is #Bad# a BIF? #IsBif(Bad)#<BR>
</CFOUTPUT>
Parameters:
| Name | Description | Required | 
|---|---|---|
| name | The name to check. | Yes | 
Full UDF Source:
/**
 * Returns true if the function is a BIF (built in function).
 * 
 * @param name      The name to check. 
 * @return Returns a boolean. 
 * @author Raymond Camden (ray@camdenfamily.com) 
 * @version 1, September 26, 2001 
 */
function IsBIF(name) {
    return ListFindNoCase(StructKeyList(GetFunctionList()),name) GT 0;
}
Search CFLib.org
Latest Additions
									
									Raymond Camden added 
									QueryDeleteRows 
									November 04, 2017
								
								
									
									Leigh added 
									nullPad 
									May 11, 2016
								
								
									
									Raymond Camden added 
									stripHTML 
									May 10, 2016
								
								
									
									Kevin Cotton added 
									date2ExcelDate 
									May 05, 2016
								
								
									
									Raymond Camden added 
									CapFirst 
									April 25, 2016