mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-28 01:38:05 +00:00
a5542fdd87
- Fixed internal @polkadot references to @pezkuwi - Updated hw-ledger and hw-ledger-transports packages - Updated keyring and networks packages - Version 14.0.7
17 lines
377 B
TypeScript
17 lines
377 B
TypeScript
// Copyright 2017-2025 @pezkuwi/util authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/**
|
|
* A sharable identity function. Returns the input as-is with no transformation applied.
|
|
*/
|
|
export function identity <T> (value: T): T {
|
|
return value;
|
|
}
|
|
|
|
/**
|
|
* A sharable noop function. As the name suggests, does nothing
|
|
*/
|
|
export function noop (): void {
|
|
// noop
|
|
}
|