Fix the capitalization of is.bigInt64Array and is.bigUint64Array
This commit is contained in:
parent
9bc8307770
commit
04cd282265
3 changed files with 13 additions and 10 deletions
|
|
@ -70,6 +70,7 @@ All the below methods accept a value and returns a boolean for whether the value
|
||||||
##### .number(value)
|
##### .number(value)
|
||||||
##### .boolean(value)
|
##### .boolean(value)
|
||||||
##### .symbol(value)
|
##### .symbol(value)
|
||||||
|
##### .bigint(value)
|
||||||
|
|
||||||
#### Built-in types
|
#### Built-in types
|
||||||
|
|
||||||
|
|
@ -143,6 +144,8 @@ is.boundFunction(function () {});
|
||||||
##### .uint32Array(value)
|
##### .uint32Array(value)
|
||||||
##### .float32Array(value)
|
##### .float32Array(value)
|
||||||
##### .float64Array(value)
|
##### .float64Array(value)
|
||||||
|
##### .bigInt64Array(value)
|
||||||
|
##### .bigUint64Array(value)
|
||||||
|
|
||||||
#### Structured data
|
#### Structured data
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -180,8 +180,8 @@ is.int32Array = isObjectOfType<Int32Array>(TypeName.Int32Array);
|
||||||
is.uint32Array = isObjectOfType<Uint32Array>(TypeName.Uint32Array);
|
is.uint32Array = isObjectOfType<Uint32Array>(TypeName.Uint32Array);
|
||||||
is.float32Array = isObjectOfType<Float32Array>(TypeName.Float32Array);
|
is.float32Array = isObjectOfType<Float32Array>(TypeName.Float32Array);
|
||||||
is.float64Array = isObjectOfType<Float64Array>(TypeName.Float64Array);
|
is.float64Array = isObjectOfType<Float64Array>(TypeName.Float64Array);
|
||||||
is.bigint64Array = isObjectOfType<BigInt64Array>(TypeName.BigInt64Array);
|
is.bigInt64Array = isObjectOfType<BigInt64Array>(TypeName.BigInt64Array);
|
||||||
is.biguint64Array = isObjectOfType<BigUint64Array>(TypeName.BigUint64Array);
|
is.bigUint64Array = isObjectOfType<BigUint64Array>(TypeName.BigUint64Array);
|
||||||
|
|
||||||
is.arrayBuffer = isObjectOfType<ArrayBuffer>(TypeName.ArrayBuffer);
|
is.arrayBuffer = isObjectOfType<ArrayBuffer>(TypeName.ArrayBuffer);
|
||||||
is.sharedArrayBuffer = isObjectOfType<SharedArrayBuffer>(TypeName.SharedArrayBuffer);
|
is.sharedArrayBuffer = isObjectOfType<SharedArrayBuffer>(TypeName.SharedArrayBuffer);
|
||||||
|
|
|
||||||
16
test/test.ts
16
test/test.ts
|
|
@ -326,15 +326,15 @@ const types = new Map<string, Test>([
|
||||||
typename: TypeName.Float64Array
|
typename: TypeName.Float64Array
|
||||||
}],
|
}],
|
||||||
// TODO: Nodejs 10 only
|
// TODO: Nodejs 10 only
|
||||||
// ['bigint64Array', {
|
// ['bigInt64Array', {
|
||||||
// is: is.bigint64Array,
|
// is: is.bigInt64Array,
|
||||||
// fixtures: [
|
// fixtures: [
|
||||||
// new BigInt64Array()
|
// new BigInt64Array()
|
||||||
// ],
|
// ],
|
||||||
// typename: TypeName.BigInt64Array
|
// typename: TypeName.BigInt64Array
|
||||||
// }],
|
// }],
|
||||||
// ['biguint64Array', {
|
// ['bigUint64Array', {
|
||||||
// is: is.biguint64Array,
|
// is: is.bigUint64Array,
|
||||||
// fixtures: [
|
// fixtures: [
|
||||||
// new BigUint64Array()
|
// new BigUint64Array()
|
||||||
// ],
|
// ],
|
||||||
|
|
@ -631,12 +631,12 @@ test('is.float64Array', t => {
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO: Nodejs 10 only
|
// TODO: Nodejs 10 only
|
||||||
// test('is.bigint64Array', t => {
|
// test('is.bigInt64Array', t => {
|
||||||
// testType(t, 'bigint64Array');
|
// testType(t, 'bigInt64Array');
|
||||||
// });
|
// });
|
||||||
|
|
||||||
// test('is.biguint64Array', t => {
|
// test('is.bigUint64Array', t => {
|
||||||
// testType(t, 'biguint64Array');
|
// testType(t, 'bigUint64Array');
|
||||||
// });
|
// });
|
||||||
|
|
||||||
test('is.arrayBuffer', t => {
|
test('is.arrayBuffer', t => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue