Home > @josh-brown/vector > ScalarOperations > equals
Tests if the scalars are equal. Implementors should ensure that the operation is reflexive, associative, and transitive.
Signature:
abstract equals(first: S, second: S): boolean;
Parameter | Type | Description |
---|---|---|
first | S | |
second | S |
Returns:
boolean
true if first
is equal to second