Interface Rational
interface Rational {
add: (other: Schema.Rational) => Rational;
clamp: (min: Schema.Rational, max: Schema.Rational) => Rational;
compare: (other: Schema.Rational) => number;
isEqualTo: (other: Schema.Rational) => boolean;
isGreaterThan: (other: Schema.Rational) => boolean;
isGte: (other: Schema.Rational) => boolean;
isLessThan: (other: Schema.Rational) => boolean;
isLte: (other: Schema.Rational) => boolean;
rate: number;
subtract: (other: Schema.Rational) => Rational;
toJSON: () => { rate: number; value: number };
toOTIO: () => {
OTIO_SCHEMA: "RationalTime.1";
rate: number;
value: number;
};
toRate: (rate: number) => Rational;
value: number;
valueOf: () => number;
}
add: (other: Schema.Rational) => Rational;
clamp: (min: Schema.Rational, max: Schema.Rational) => Rational;
compare: (other: Schema.Rational) => number;
isEqualTo: (other: Schema.Rational) => boolean;
isGreaterThan: (other: Schema.Rational) => boolean;
isGte: (other: Schema.Rational) => boolean;
isLessThan: (other: Schema.Rational) => boolean;
isLte: (other: Schema.Rational) => boolean;
rate: number;
subtract: (other: Schema.Rational) => Rational;
toJSON: () => { rate: number; value: number };
toOTIO: () => {
OTIO_SCHEMA: "RationalTime.1";
rate: number;
value: number;
};
toRate: (rate: number) => Rational;
value: number;
valueOf: () => number;
}