@polkadot/api-format
Version:
Input/Output formatters for JsonRPC exchange
13 lines (11 loc) • 400 B
text/typescript
// Copyright 2017-2018 @polkadot/api-format authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
/**
* A function returning any value passed to it
* @param {any} value The input value
* @return {any} The value passed as input
*/
export default function echo (value: any): any {
return value;
}