mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Change endpoint from persons to people
This commit is contained in:
13
backend/apis/nodejs/node_modules/@sinonjs/commons/lib/class-name.js
generated
vendored
Normal file
13
backend/apis/nodejs/node_modules/@sinonjs/commons/lib/class-name.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Returns a display name for a value from a constructor
|
||||
* @param {object} value A value to examine
|
||||
* @returns {(string|null)} A string or null
|
||||
*/
|
||||
function className(value) {
|
||||
const name = value.constructor && value.constructor.name;
|
||||
return name || null;
|
||||
}
|
||||
|
||||
module.exports = className;
|
Reference in New Issue
Block a user