다음을 통해 공유


Srch.U.ensureNotNullOrUndefined Method (DisplayTemplatesSrch)

Ensures that the given value is not null or undefined; throws an exception otherwise.

Srch.U.ensureNotNullOrUndefined(value, context, methodName, paraName)

Parameters

  • value
    The value to check.

  • context
    The context from which the check originated.

  • methodName
    The name of the method that initiated the check.

  • paraName
    The parameter name of the value to check.