.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "Builtins.identical" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" Builtins::identical \- Return whether two values are identical. .SH "SYNOPSIS" .B Bool identical( \fIa x, a y\fP .B ")" .SH "ARGUMENTS" .PP .B "x" First value .PP .B "y" Second value .SH "DESCRIPTION" .PP Check if two values are identical. This is stronger than equality - this tests whether two values are stored at the same memory location. In other words, it tests whether modifying the contents of \fIx\fP would also modify the contents of \fIy\fP .IP "" -4 a = (5,6); b = (3,a.snd); c = a; d = (5,6); test = identical(b,a); // false test2 = identical(b.snd,a.snd); //true test3 = identical(c,a); // true test4 = identical(d,a); // false .PP Of course, \fBequal(a,d) \fP would be \fBtrue \fP .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. .SH "RELATED" .PD 0 .PP .B "Builtins.equal"(3kaya) .PD 0.4v