UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

52 lines (25 loc) 758 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [Range2d](./rc-js-util.range2d.md) &gt; [getRange](./rc-js-util.range2d.getrange.md) ## Range2d.getRange() method **Signature:** ```typescript getRange<TResult extends TTypedArray = TArray>(_result?: Vec2<TResult>): Vec2<TResult>; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> \_result </td><td> [Vec2](./rc-js-util.vec2.md)<!-- -->&lt;TResult&gt; </td><td> _(Optional)_ </td></tr> </tbody></table> **Returns:** [Vec2](./rc-js-util.vec2.md)<!-- -->&lt;TResult&gt;