Function Range

  • Attribute used to make a float or int variable in a script be restricted to a specific range.

    Parameters

    • Rest ...args: [min: number, max: number]

    Returns AirshipDecorator<((target, property) => void)>