- :logical
conforms?
:=
check if given quantities/units are compatible
Parameters
conforms? a :unit :quantity b :unit :quantity
Returns
Examples
copyconforms? 3`m `m ; => true conforms? 4`m `cm ; => true 4`yd := 5`m ; => true 5`m := `s ; => false
copygivenValue: 6`yd/s conforms? givenValue `m ; => false conforms? givenValue `km/h ; => true
copy3`m := 4`m ; => true 5`W := 5`N ; => false 5`W := 3`J/s ; => true