mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-07-12 00:35:45 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @name isNumber
|
||||
* @summary Tests for a JavaScript number.
|
||||
* @description
|
||||
* Checks to see if the input value is a valid number.
|
||||
* @example
|
||||
* <BR>
|
||||
*
|
||||
* ```javascript
|
||||
* import { isNumber } from '@pezkuwi/util';
|
||||
*
|
||||
* console.log('isNumber', isNumber(1234)); // => true
|
||||
* ```
|
||||
*/
|
||||
export function isNumber(value) {
|
||||
return typeof value === 'number';
|
||||
}
|
||||
Reference in New Issue
Block a user