Skip to content

eq

Description

@eq(x,y)

  • x = y, return boolean

Type Rules

High-level

Real   , Real    -> bool
complex, complex -> bool
sym    , sym     -> bool
str    , str     -> bool
month  , month   -> bool
date   , date    -> bool
dt     , dt      -> bool
hour   , hour    -> bool
second , second  -> bool
time   , time    -> bool
_      , _       -> domain error

Future Work

Support: (1) sym, str; (2) str, sym

Table with details (See type alias)

lt

Shape Rules

Dyadic elementwise shape rules

Examples

    @eq((-1,0,3):i32, 0:i32)
(0,1,0):bool