Implements

Constructors

Properties

value: NumericalRangeValueType
coerce: ((value: any) => NumericRange) = coerceNumericRange
empty: NumericalRange0 = ...
NumericRangeType: typeof NumericRangeType = 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;
} = schemaNumericRange

Methods

  • 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 a string representation of an object.

    Returns string