Implements

Constructors

  • Returns NumericRange

  • Parameters

    • value: null | string

    Returns NumericRange

  • Parameters

    • value: number
    • OptionalsecondValue: number

    Returns NumericRange

  • Parameters

    • value: number[]

    Returns NumericRange

  • Parameters

    • value: number[]
    • secondValue: number[]

    Returns NumericRange

Properties

value: NumericalRangeValueType
coerce: ((value: any) => NumericRange)
NumericRangeType: typeof NumericRangeType
schema: {
    coerce: ((value: any) => NumericRange);
    decode: ((stream: BinaryStream, _value?: NumericRange) => NumericRange);
    defaultValue: (() => NumericRange);
    encode: ((numericRange: NumericRange, stream: OutputBinaryStream) => void);
    name: string;
    random: (() => NumericRange);
    subType: string;
}

Methods

  • Type Parameters

    • U
    • T extends ArrayLike<U>

    Parameters

    • array: T

      flat array containing values or string

    • Optionaldimensions: null | number[]

    Returns ExtractResult<T>

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Parameters

    • arrayToAlter: [] | Buffer
    • newValues: [] | Buffer

    Returns {
        array: null | [] | Buffer;
        statusCode: StatusCode;
    }

  • Parameters

    • sourceToAlter: {
          dimensions: number[];
          matrix: [] | Buffer;
      }
      • dimensions: number[]
      • matrix: [] | Buffer
    • newMatrix: [] | Buffer

    Returns {
        matrix: [] | Buffer;
        statusCode: StatusCode;
    }

  • Returns UAString

  • Returns string

  • Returns a string representation of an object.

    Returns string

  • Parameters

    Returns boolean