vec2-fn
    Preparing search index...

    Function length

    • Get the length of a vector.

      Parameters

      Returns number

      • The number result of the vector length.
      length({ x: 3, y: 4 }); // -> 5