JanetDocsPlaygroundI'm feeling luckyGitHub sign in

deep-not=



    function
    boot.janet on line 2084, column 1

    (deep-not= x y)

    Like `not=`, but mutable types (arrays, tables, buffers) are 
    considered equal if they have identical structure. Much slower than 
    `not=`.


1 exampleSign in to add an example
Loading...
(not=        [1 1]   [1 1])  # => false
(not=        [1 1]   [2 3])  # => true
(not=        [1 1]  @[1 1])  # => true
(not=        [1 1]  @[2 3])  # => true
(not=       @[1 1]  @[1 1])  # => true
(not=       @[1 1]  @[2 3])  # => true

(deep-not=   [1 1]   [1 1])  # => nil
(deep-not=   [1 1]   [2 3])  # => true
(deep-not=   [1 1]  @[1 1])  # => true
(deep-not=   [1 1]  @[2 3])  # => true
(deep-not=  @[1 1]  @[1 1])  # => nil
(deep-not=  @[1 1]  @[2 3])  # => true
cellularmitosisPlayground