@tezwell/michelson-sdk
Version:
Michelson SDK is a framework for generating Michelson values and types from Javascript.
9 lines (8 loc) • 480 B
TypeScript
import { MichelsonJSON, MichelsonJSON_Bytes, MichelsonJSON_Int, MichelsonJSON_Prim, MichelsonJSON_String } from '../typings';
declare const Guards: {
isPrim: (michelson: MichelsonJSON) => michelson is MichelsonJSON_Prim;
isInt: (michelson: MichelsonJSON) => michelson is MichelsonJSON_Int;
isString: (michelson: MichelsonJSON) => michelson is MichelsonJSON_String;
isBytes: (michelson: MichelsonJSON) => michelson is MichelsonJSON_Bytes;
};
export default Guards;