mirror of
https://github.com/sasjs/core.git
synced 2026-01-17 13:30:05 +00:00
feat(*): recreate library as scoped package
This commit is contained in:
26
base/mf_isblank.sas
Normal file
26
base/mf_isblank.sas
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
@file mf_isblank.sas
|
||||
@brief Checks whether a macro variable is empty (blank)
|
||||
@details Simply performs:
|
||||
|
||||
%sysevalf(%superq(param)=,boolean)
|
||||
|
||||
Usage:
|
||||
|
||||
%put mf_isblank(&var);
|
||||
|
||||
inspiration: https://support.sas.com/resources/papers/proceedings09/022-2009.pdf
|
||||
|
||||
@param param VALUE to be checked
|
||||
|
||||
@return output returns 1 (if blank) else 0
|
||||
|
||||
@version 9.2
|
||||
**/
|
||||
|
||||
%macro mf_isblank(param
|
||||
)/*/STORE SOURCE*/;
|
||||
|
||||
%sysevalf(%superq(param)=,boolean)
|
||||
|
||||
%mend;
|
||||
Reference in New Issue
Block a user