mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-04-22 14:58:01 +00:00
Rebrand: polkadot → pezkuwi, substrate → bizinikiwi, kusama → dicle
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AccountId, Address } from '@pezkuwi/types/interfaces';
|
||||
import type { IKeyringPair } from '@pezkuwi/types/types';
|
||||
|
||||
import { isFunction } from '@pezkuwi/util';
|
||||
|
||||
export function isKeyringPair (account: string | IKeyringPair | AccountId | Address): account is IKeyringPair {
|
||||
return isFunction((account as IKeyringPair).sign);
|
||||
}
|
||||
Reference in New Issue
Block a user