From 46508013b600e65619a39080ff5b251fca0ba8b6 Mon Sep 17 00:00:00 2001 From: orthodox-64 Date: Fri, 22 May 2026 02:00:06 +0530 Subject: [PATCH 1/2] feat: add plot/vega/base/assert/is-format-type --- .../vega/base/assert/is-format-type/README.md | 119 ++++++++++++++++++ .../is-format-type/benchmark/benchmark.js | 62 +++++++++ .../base/assert/is-format-type/docs/repl.txt | 28 +++++ .../is-format-type/docs/types/index.d.ts | 45 +++++++ .../assert/is-format-type/docs/types/test.ts | 34 +++++ .../assert/is-format-type/examples/index.js | 37 ++++++ .../base/assert/is-format-type/lib/index.js | 49 ++++++++ .../base/assert/is-format-type/lib/main.js | 55 ++++++++ .../base/assert/is-format-type/package.json | 70 +++++++++++ .../base/assert/is-format-type/test/test.js | 78 ++++++++++++ 10 files changed, 577 insertions(+) create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/README.md create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/examples/index.js create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/index.js create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/main.js create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/package.json create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/test/test.js diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/README.md new file mode 100644 index 000000000000..e7600f03cf9a --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/README.md @@ -0,0 +1,119 @@ + + +# isFormatType + +> Test if an input value is a supported [format type][@stdlib/plot/vega/base/format-types]. + + + +
+ +
+ + + + + +
+ +## Usage + +```javascript +var isFormatType = require( '@stdlib/plot/vega/base/assert/is-format-type' ); +``` + +#### isFormatType( value ) + +Tests if an input value is a supported [format type][@stdlib/plot/vega/base/format-types]. + +```javascript +var bool = isFormatType( 'number' ); +// returns true + +bool = isFormatType( 'foo' ); +// returns false +``` + +
+ + + + + +
+ +
+ + + + + +
+ +## Examples + + + +```javascript +var isFormatType = require( '@stdlib/plot/vega/base/assert/is-format-type' ); + +var bool = isFormatType( 'number' ); +// returns true + +bool = isFormatType( 'time' ); +// returns true + +bool = isFormatType( '' ); +// returns false + +bool = isFormatType( 'foo' ); +// returns false +``` + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/benchmark/benchmark.js new file mode 100644 index 000000000000..5bf016ef1492 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/benchmark/benchmark.js @@ -0,0 +1,62 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var bench = require( '@stdlib/bench' ); +var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; +var pkg = require( './../package.json' ).name; +var isFormatType = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var values; + var out; + var v; + var i; + + values = [ + 'number', + 'time', + + 'foo', + 'bar', + '', + 'beep', + 'boop' + ]; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + v = values[ i%values.length ]; + out = isFormatType( v ); + if ( typeof out !== 'boolean' ) { + b.fail( 'should return a boolean' ); + } + } + b.toc(); + if ( !isBoolean( out ) ) { + b.fail( 'should return a boolean' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/repl.txt new file mode 100644 index 000000000000..ce7c153d9941 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/repl.txt @@ -0,0 +1,28 @@ + +{{alias}}( value ) + Tests if an input value is a supported format type. + + Parameters + ---------- + value: any + Value to test. + + Returns + ------- + bool: boolean + Boolean indicating if an input value is a supported format type. + + Examples + -------- + > var bool = {{alias}}( 'number' ) + true + > bool = {{alias}}( 'time' ) + true + > bool = {{alias}}( '' ) + false + > bool = {{alias}}( 'beep' ) + false + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/index.d.ts new file mode 100644 index 000000000000..008cbb57bd73 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/index.d.ts @@ -0,0 +1,45 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +// TypeScript Version: 4.1 + +/** +* Tests whether an input value is a supported format type. +* +* @param v - value to test +* @returns boolean indicating whether an input value is a supported format type +* +* @example +* var bool = isFormatType( 'number' ); +* // returns true +* +* bool = isFormatType( 'time' ); +* // returns true +* +* bool = isFormatType( 'bar' ); +* // returns false +* +* bool = isFormatType( 'foo' ); +* // returns false +*/ +declare function isFormatType( v: any ): boolean; + + +// EXPORTS // + +export = isFormatType; diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/test.ts new file mode 100644 index 000000000000..179363bf70c8 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/test.ts @@ -0,0 +1,34 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +import isFormatType = require( './index' ); + + +// TESTS // + +// The function returns a boolean... +{ + isFormatType( 'number' ); // $ExpectType boolean + isFormatType( 'foo' ); // $ExpectType boolean +} + +// The compiler throws an error if the function is provided an unsupported number of arguments... +{ + isFormatType(); // $ExpectError + isFormatType( undefined, 123 ); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/examples/index.js new file mode 100644 index 000000000000..e47ff1d2fafc --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/examples/index.js @@ -0,0 +1,37 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var isFormatType = require( './../lib' ); + +var bool = isFormatType( 'number' ); +console.log( bool ); +// => true + +bool = isFormatType( 'time' ); +console.log( bool ); +// => true + +bool = isFormatType( '' ); +console.log( bool ); +// => false + +bool = isFormatType( 'foo' ); +console.log( bool ); +// => false diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/index.js new file mode 100644 index 000000000000..4277cb07b483 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/index.js @@ -0,0 +1,49 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +/** +* Test whether an input value is a supported format type. +* +* @module @stdlib/plot/vega/base/assert/is-format-type +* +* @example +* var isFormatType = require( '@stdlib/plot/vega/base/assert/is-format-type' ); +* +* var bool = isFormatType( 'number' ); +* // returns true +* +* bool = isFormatType( 'time' ); +* // returns true +* +* bool = isFormatType( 'bar' ); +* // returns false +* +* bool = isFormatType( 'foo' ); +* // returns false +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/main.js new file mode 100644 index 000000000000..a113006168e3 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/main.js @@ -0,0 +1,55 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var contains = require( '@stdlib/array/base/assert/contains' ).factory; +var formatTypes = require( '@stdlib/plot/vega/base/format-types' ); + + +// MAIN // + +/** +* Tests whether an input value is a supported format type. +* +* @name isFormatType +* @type {Function} +* @param {*} v - value to test +* @returns {boolean} boolean indicating whether an input value is a supported format type +* +* @example +* var bool = isFormatType( 'number' ); +* // returns true +* +* bool = isFormatType( 'time' ); +* // returns true +* +* bool = isFormatType( 'bar' ); +* // returns false +* +* bool = isFormatType( 'foo' ); +* // returns false +*/ +var isFormatType = contains( formatTypes() ); + + +// EXPORTS // + +module.exports = isFormatType; diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/package.json new file mode 100644 index 000000000000..181267c01bb4 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/package.json @@ -0,0 +1,70 @@ +{ + "name": "@stdlib/plot/vega/base/assert/is-format-type", + "version": "0.0.0", + "description": "Test if an input value is a supported format type.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "directories": { + "benchmark": "./benchmark", + "doc": "./docs", + "example": "./examples", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "plot", + "base", + "vega", + "utilities", + "utility", + "utils", + "util", + "assert", + "test", + "check", + "is", + "valid", + "validate", + "validation", + "isvalid" + ], + "__stdlib__": {} +} diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/test/test.js new file mode 100644 index 000000000000..2562a47be996 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/test/test.js @@ -0,0 +1,78 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var isFormatType = require( './../lib' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof isFormatType, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function returns `true` if provided a supported format type', function test( t ) { + var values; + var bool; + var i; + + values = [ + 'number', + 'time', + 'utc' + ]; + for ( i = 0; i < values.length; i++ ) { + bool = isFormatType( values[ i ] ); + t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] ); + } + t.end(); +}); + +tape( 'the function returns `false` if not provided a supported format type', function test( t ) { + var values; + var bool; + var i; + + values = [ + '', + 'beep', + 'boop', + 'foo', + 'bar', + 5, + NaN, + true, + false, + null, + void 0, + [], + {}, + function noop() {} + ]; + for ( i = 0; i < values.length; i++ ) { + bool = isFormatType( values[ i ] ); + t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] ); + } + t.end(); +}); From 236deea7dc1c70c834251f9d71dec57dd726ee79 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Thu, 21 May 2026 20:34:04 +0000 Subject: [PATCH 2/2] chore: update copyright years --- .../@stdlib/plot/vega/base/assert/is-format-type/README.md | 2 +- .../plot/vega/base/assert/is-format-type/benchmark/benchmark.js | 2 +- .../plot/vega/base/assert/is-format-type/docs/types/index.d.ts | 2 +- .../plot/vega/base/assert/is-format-type/docs/types/test.ts | 2 +- .../plot/vega/base/assert/is-format-type/examples/index.js | 2 +- .../@stdlib/plot/vega/base/assert/is-format-type/lib/index.js | 2 +- .../@stdlib/plot/vega/base/assert/is-format-type/lib/main.js | 2 +- .../@stdlib/plot/vega/base/assert/is-format-type/test/test.js | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/README.md index e7600f03cf9a..5256992f034a 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/README.md +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/README.md @@ -2,7 +2,7 @@ @license Apache-2.0 -Copyright (c) 2025 The Stdlib Authors. +Copyright (c) 2026 The Stdlib Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/benchmark/benchmark.js index 5bf016ef1492..4e6e9094232a 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/benchmark/benchmark.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2025 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/index.d.ts index 008cbb57bd73..7a21c49f1c01 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/index.d.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2025 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/test.ts index 179363bf70c8..8fcba222429b 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/test.ts +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/docs/types/test.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2025 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/examples/index.js index e47ff1d2fafc..9c1ead0370ec 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/examples/index.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/examples/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2025 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/index.js index 4277cb07b483..93b5cfa49a6f 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/index.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2025 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/main.js index a113006168e3..35cf6c96c6cd 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/main.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/lib/main.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2025 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/test/test.js index 2562a47be996..49be5df09552 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/test/test.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-format-type/test/test.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2025 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.