vec2-fn
    Preparing search index...

    Function isOne

    • Check whether a vector is exactly equal to one (1,1).

      Parameters

      Returns boolean

      • Boolean result of whether the vector is equal to one.
      isOne({ x: 1, y: 1 }); // -> true