Products Downloads


French version


Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

It returns "true" if the two variables passed as a parameter reference the same value, "false" if not.

 


Parameters

Hardis - Tableau personnalisé
alternateColorstrue

All types

valRef1

Variable to compare

Mandatory

All types

valRef2

Variable to compare

Mandatory



 For example

Pas de format
<#-- Return false -->$>
${ hardisCore.sameObjectReference(1, 1) }
<#assign aHash = {"attr1": true} aHash2 = {"attr2": false} /><#>
<#-- Return false -->$>
${ hardisCore.sameObjectReference(aHash, aHash2) }
<#assign aHash2 = aHash /><#>
<#-- Return true -->$>
${ hardisCore.sameObjectReference(aHash, aHash2) }
<#assign aHash2 = {"attr1": true} /><#>
<#-- Return false -->$>
${ hardisCore.sameObjectReference(aHash, aHash2) }

...